/** Accept a raw file key OR a figma.com URL (/file/, /design/, /board/, /proto/) → the key. */
export function fileKeyFrom(fileKeyOrUrl: any): string;
/** Accept a comma-string OR array of node ids; map URL form `1-23` → API `1:23`; join with commas. */
export function normalizeNodeIds(ids: any): string;
/** Extract the `node-id` query param from a Figma URL, dash→colon. */
export function nodeIdFromUrl(url: any): string;
/**
 * Dev-Mode-style spec for a REST node: size, position, opacity, cornerRadius,
 * fills (hex), strokes, effects, auto-layout, and text style — recursing
 * `depth` levels into children. Used by figma_get_node_specs.
 */
export function nodeSpec(n: any, depth: any): {
    id: any;
    name: any;
    type: any;
};
export namespace figmaSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "figma";
    let envKeys: any[];
    let description: string;
    let promptFragment: string;
    function resolve(): {
        command: any;
        args: any[];
        env: {};
        description: string;
        type?: undefined;
        alwaysLoad?: undefined;
    } | {
        type: string;
        command: string;
        args: any[];
        env: {};
        description: string;
        alwaysLoad: boolean;
    };
    function handleToolCall(name: any, args: any): Promise<string>;
    let tools: ({
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                fileKey: {
                    type: string;
                    description: string;
                };
                depth: {
                    type: string;
                    description: string;
                };
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                fileKey: {
                    type: string;
                    description: string;
                };
                ids: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                depth: {
                    type: string;
                    description: string;
                };
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                file: {
                    type: string;
                    description: string;
                };
                ids: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                depth: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                fileKey: {
                    type: string;
                    description: string;
                };
                ids: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                format: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                scale: {
                    type: string;
                    description: string;
                };
                svg_include_id: {
                    type: string;
                    description: string;
                };
                version: {
                    type: string;
                    description: string;
                };
                depth?: undefined;
                file?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                file: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                fileKey: {
                    type: string;
                    description: string;
                };
                depth?: undefined;
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                file: {
                    type: string;
                    description: string;
                };
                message: {
                    type: string;
                    description: string;
                };
                comment_id: {
                    type: string;
                    description: string;
                };
                node_id: {
                    type: string;
                    description: string;
                };
                x: {
                    type: string;
                    description: string;
                };
                y: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                team_id: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                project_id: {
                    type: string;
                    description: string;
                };
                branch_data: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                url?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                url: {
                    type: string;
                    description: string;
                };
                fileKey?: undefined;
                depth?: undefined;
                ids?: undefined;
                file?: undefined;
                format?: undefined;
                scale?: undefined;
                svg_include_id?: undefined;
                version?: undefined;
                message?: undefined;
                comment_id?: undefined;
                node_id?: undefined;
                x?: undefined;
                y?: undefined;
                team_id?: undefined;
                project_id?: undefined;
                branch_data?: undefined;
            };
            required: string[];
        };
    })[];
}
