mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-26 19:58:25 +00:00
14 lines
545 B
TypeScript
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;
|
|
};
|