export function ghFetch(path: any, opts?: {}): Promise<any>;
export namespace githubSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "github";
    let envKeys: string[];
    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: {
                owner?: undefined;
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                repo?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                query: {
                    type: string;
                    description: string;
                };
                type: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                sort: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                direction: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                repo?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                destination: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                query: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                owner?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                repo?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                query: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                language: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                owner?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                destination?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                commentId: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                commentId: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                event: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                comments: {
                    type: string;
                    description: string;
                    items: {
                        type: string;
                        properties: {
                            path: {
                                type: string;
                                description: string;
                            };
                            line: {
                                type: string;
                                description: string;
                            };
                            side: {
                                type: string;
                                enum: string[];
                                description: string;
                            };
                            body: {
                                type: string;
                                description: string;
                            };
                        };
                        required: string[];
                    };
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                branch: {
                    type: string;
                    description: string;
                };
                path: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                sha: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                path: {
                    type: string;
                    description: string;
                };
                ref: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                sha?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                head: {
                    type: string;
                    description: string;
                };
                base: {
                    type: string;
                    description: string;
                };
                title: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                draft: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                mergeMethod: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                commitTitle: {
                    type: string;
                    description: string;
                };
                commitMessage: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                title: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                state: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                labels: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                since: {
                    type: string;
                    description: string;
                };
                assignee: {
                    type: string;
                    description: string;
                };
                sort: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                direction: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                destination?: undefined;
                language?: undefined;
                number?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                stateReason: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                labels?: undefined;
                since?: undefined;
                assignee?: undefined;
                mode?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                owner: {
                    type: string;
                    description: string;
                };
                repo: {
                    type: string;
                    description: string;
                };
                number: {
                    type: string;
                    description: string;
                };
                labels: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                mode: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                query?: undefined;
                type?: undefined;
                sort?: undefined;
                direction?: undefined;
                limit?: undefined;
                destination?: undefined;
                language?: undefined;
                commentId?: undefined;
                body?: undefined;
                event?: undefined;
                comments?: undefined;
                branch?: undefined;
                path?: undefined;
                sha?: undefined;
                ref?: undefined;
                head?: undefined;
                base?: undefined;
                title?: undefined;
                draft?: undefined;
                mergeMethod?: undefined;
                commitTitle?: undefined;
                commitMessage?: undefined;
                state?: undefined;
                since?: undefined;
                assignee?: undefined;
                stateReason?: undefined;
            };
            required: string[];
        };
    })[];
}
