@sketch-hq/sketch-assistant-utils
Version:
Utility functions and types for Sketch Assistants.
9 lines • 377 B
TypeScript
import { GetImageMetadata } from '@sketch-hq/sketch-assistant-types';
/**
* Efficiently access image metadata from a zipped Sketch document. Streams
* the image from the zip, and returns as soon as the image dimensions are
* parsed from the header chunks.
*/
declare const getImageMetadata: GetImageMetadata;
export { getImageMetadata };
//# sourceMappingURL=index.d.ts.map