import type { ParsedFigmaData } from './parser.js'; export type ImageMap = Map; /** * Download a PNG screenshot of the given node (usually the root/preview node). * Returns the local file path, or null on failure. * Skips download if the file is already cached. */ export declare function downloadRootScreenshot(fileKey: string, nodeId: string, token: string): Promise; /** * Fetch absoluteBoundingBox for all given nodeIds from Figma REST API. * Returns a map of nodeId -> { x, y, width, height } relative to the root node origin. */ export declare function fetchAbsoluteBounds(fileKey: string, nodeIds: string[], token: string): Promise>; export declare function downloadImages(data: ParsedFigmaData, fileKey: string, token: string): Promise; //# sourceMappingURL=image-downloader.d.ts.map