ccc-tnt-psd2ui/npm-packages/mac-v2.4.x/ag-psd/dist-es/imageResources.d.ts

14 lines
545 B
TypeScript
Raw Permalink Normal View History

2023-07-27 07:04:13 +00:00
import { ImageResources, ReadOptions } from './psd';
import { PsdReader } from './psdReader';
import { PsdWriter } from './psdWriter';
export interface ResourceHandler {
key: number;
has: (target: ImageResources) => boolean;
read: (reader: PsdReader, target: ImageResources, left: () => number, options: ReadOptions) => void;
write: (writer: PsdWriter, target: ImageResources) => void;
}
export declare const resourceHandlers: ResourceHandler[];
export declare const resourceHandlersMap: {
[key: number]: ResourceHandler;
};