export type PluginAssetExportConstraint = { type: "SCALE" | "WIDTH" | "HEIGHT"; value: number; }; export type PluginAssetExportResult = { ok: true; nodeId: string; nodeName: string; fileKey?: string; format: "PNG" | "JPG"; mimeType?: "image/png" | "image/jpeg"; byteSize?: number; contentBase64?: string; fileIdentityVerified: boolean; probeOnly?: boolean; width?: number; height?: number; }; export declare class BridgeClient { private client; constructor(baseUrl: string, authToken?: string); getStatus(): Promise<{ session?: { connected?: boolean; }; }>; hasCapability(toolName: string, pluginCommandType?: string): Promise; execute(commandType: string, payload?: Record): Promise; getPages(): Promise>; setCurrentPage(pageId?: string, pageName?: string): Promise; getNodeTree(nodeId: string, depth?: number): Promise[]>; exportNodeAsset(payload: { nodeId: string; format: "PNG" | "JPG"; constraint?: PluginAssetExportConstraint; contentsOnly?: boolean; expectedFileKey?: string; probeOnly?: boolean; }): Promise; }