import { SimplifiedDesign } from "./simplify-node-response"; export interface FigmaError { status: number; err: string; } type FetchImageParams = { nodeId: string; fileName: string; fileType: "png" | "svg"; }; type FetchImageFillParams = Omit & { imageRef: string; }; export declare class FigmaService { private readonly apiKey; private readonly baseUrl; constructor(apiKey: string); private request; getImageFills(fileKey: string, nodes: FetchImageFillParams[], localPath: string): Promise; getImages(fileKey: string, nodes: FetchImageParams[], localPath: string): Promise; getFile(fileKey: string, depth?: number): Promise; getNode(fileKey: string, nodeId: string, depth?: number): Promise; } export {};