/**
 * Low-level GitLab REST helper. Throws on non-2xx, returns parsed JSON
 * (or raw text when opts.raw). Exported so a future gitlabAdapter (neutral
 * tracker layer) can reach endpoints the tools don't cover without
 * re-implementing auth — keep this the single auth chokepoint.
 *
 * @param {string} path  API path beginning with `/` (relative to /api/v4),
 *                       or a full https:// url.
 * @param {{ method?: string, body?: object, raw?: boolean }} [opts]
 */
export function glFetch(path: string, opts?: {
    method?: string;
    body?: object;
    raw?: boolean;
}): Promise<any>;
export namespace gitlabSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "gitlab";
    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: {
                query: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                projectPath?: undefined;
                projectId?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                iid?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectPath: {
                    type: string;
                    description: string;
                };
                projectId: {
                    type: string;
                    description: string;
                };
                branch: {
                    type: string;
                    description: string;
                };
                destination: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                iid?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                project: {
                    type: string;
                    description: string;
                };
                source_branch: {
                    type: string;
                    description: string;
                };
                target_branch: {
                    type: string;
                    description: string;
                };
                title: {
                    type: string;
                    description: string;
                };
                description: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                projectId?: undefined;
                branch?: undefined;
                destination?: undefined;
                iid?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                project: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                squash: {
                    type: string;
                    description: string;
                };
                mergeCommitMessage: {
                    type: string;
                    description: string;
                };
                mergeWhenPipelineSucceeds: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                projectId?: undefined;
                branch?: undefined;
                destination?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                state: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                targetBranch: {
                    type: string;
                    description: string;
                };
                sourceBranch: {
                    type: string;
                    description: string;
                };
                authorUsername: {
                    type: string;
                    description: string;
                };
                labels: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                search: {
                    type: string;
                    description: string;
                };
                orderBy: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                sort: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                iid?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                path: {
                    type: string;
                    description: string;
                };
                oldPath: {
                    type: string;
                    description: string;
                };
                newLine: {
                    type: string;
                    description: string;
                };
                oldLine: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                diffRefs: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                comments?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                diffRefs: {
                    type: string;
                    description: string;
                };
                comments: {
                    type: string;
                    description: string;
                    items: {
                        type: string;
                        properties: {
                            path: {
                                type: string;
                                description: string;
                            };
                            oldPath: {
                                type: string;
                                description: string;
                            };
                            newLine: {
                                type: string;
                                description: string;
                            };
                            oldLine: {
                                type: string;
                                description: string;
                            };
                            body: {
                                type: string;
                                description: string;
                            };
                        };
                        required: string[];
                    };
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                discussionId?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                discussionId: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                iid: {
                    type: string;
                    description: string;
                };
                discussionId: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                limit?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                state?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                authorUsername?: undefined;
                labels?: undefined;
                search?: undefined;
                orderBy?: undefined;
                sort?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                assigneeUsername?: undefined;
                updatedAfter?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectId: {
                    type: string;
                    description: string;
                };
                state: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                labels: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                assigneeUsername: {
                    type: string;
                    description: string;
                };
                authorUsername: {
                    type: string;
                    description: string;
                };
                updatedAfter: {
                    type: string;
                    description: string;
                };
                search: {
                    type: string;
                    description: string;
                };
                orderBy: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                sort: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                query?: undefined;
                projectPath?: undefined;
                branch?: undefined;
                destination?: undefined;
                project?: undefined;
                source_branch?: undefined;
                target_branch?: undefined;
                title?: undefined;
                description?: undefined;
                iid?: undefined;
                squash?: undefined;
                mergeCommitMessage?: undefined;
                mergeWhenPipelineSucceeds?: undefined;
                targetBranch?: undefined;
                sourceBranch?: undefined;
                body?: undefined;
                path?: undefined;
                oldPath?: undefined;
                newLine?: undefined;
                oldLine?: undefined;
                diffRefs?: undefined;
                comments?: undefined;
                discussionId?: undefined;
            };
            required: string[];
        };
    })[];
}
