export function _resetLarkTokenCache(): void;
export namespace larkSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "lark";
    let description: string;
    let envKeys: any[];
    let promptFragment: string;
    /**
     * MCP-style agents (Claude Code / Cursor / Codex / Gemini) call
     * this. Returns the spawn spec for our self-contained MCP binary.
     * Pattern mirrors @zibby/mcp-browser + bin/mcp-sentry.mjs.
     *
     * Returns null when the binary can't be found (e.g. running
     * outside a node_modules layout) — agent strategy falls back to
     * its built-in tools, the in-process path keeps working for the
     * `assistant` agent.
     */
    function resolve(): {
        type: string;
        command: string;
        args: any[];
        env: {};
        alwaysLoad: boolean;
    };
    let tools: ({
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                receive_id: {
                    type: string;
                    description: string;
                };
                text: {
                    type: string;
                    description: string;
                };
                message_id?: undefined;
                page_size?: undefined;
                chat_id?: undefined;
                email?: undefined;
                query?: undefined;
                limit?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                message_id: {
                    type: string;
                    description: string;
                };
                text: {
                    type: string;
                    description: string;
                };
                receive_id?: undefined;
                page_size?: undefined;
                chat_id?: undefined;
                email?: undefined;
                query?: undefined;
                limit?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                page_size: {
                    type: string;
                    description: string;
                };
                receive_id?: undefined;
                text?: undefined;
                message_id?: undefined;
                chat_id?: undefined;
                email?: undefined;
                query?: undefined;
                limit?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                chat_id: {
                    type: string;
                    description: string;
                };
                page_size: {
                    type: string;
                    description: string;
                };
                receive_id?: undefined;
                text?: undefined;
                message_id?: undefined;
                email?: undefined;
                query?: undefined;
                limit?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                email: {
                    type: string;
                    description: string;
                };
                receive_id?: undefined;
                text?: undefined;
                message_id?: undefined;
                page_size?: undefined;
                chat_id?: undefined;
                query?: undefined;
                limit?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                query: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                receive_id?: undefined;
                text?: undefined;
                message_id?: undefined;
                page_size?: undefined;
                chat_id?: undefined;
                email?: undefined;
            };
            required: string[];
        };
    })[];
    function handleToolCall(name: any, args: any): Promise<string>;
}
