/** * Maps a Figma REST API request to the equivalent Figma Desktop MCP tool call. * Returns the tool result, or null if there is no desktop equivalent for the path. * * Mappings: * GET /files/:key → get_metadata (no nodeId) * GET /files/:key?depth=N → get_metadata (no nodeId) * GET /files/:key/nodes?ids=:nodeId → get_metadata (nodeId) * GET /files/:key/nodes → get_design_context (full file) * GET /files/:key/variables/local → get_variable_defs * GET /files/:key/variables/published → get_variable_defs * GET /files/:key/components → get_code_connect_map * GET /files/:key/component_sets → get_code_connect_map * GET /files/:key/styles → get_variable_defs * GET /images/:key?ids=:nodeIds → get_screenshot * * Note: comments, team components, image fills, and write operations have no * desktop MCP equivalent and return null (caller will surface the original error). */ export declare function callViaDesktop(method: string, path: string, params?: Record): Promise; //# sourceMappingURL=desktop-adapter.d.ts.map