ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/ag-psd/dist-es/imageResources.d.ts
2023-07-24 11:13:08 +08:00

14 lines
545 B
TypeScript

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;
};