/**
 * Low-level Linear GraphQL helper. POSTs { query, variables }, throws on
 * transport or GraphQL errors, returns the `data` object.
 *
 * Exported so a future linearAdapter (neutral tracker layer) can issue
 * queries this skill's tools don't cover without re-implementing auth.
 * Keep this the single auth chokepoint.
 *
 * @param {string} query GraphQL document
 * @param {object} [variables]
 * @returns {Promise<any>} the GraphQL `data` payload
 */
export function linearFetch(query: string, variables?: object): Promise<any>;
export namespace linearSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "linear";
    let envKeys: string[];
    let description: string;
    let promptFragment: string;
    function resolve(): {
        command: any;
        args: any[];
        env: {
            LINEAR_API_URL: any;
        };
        description: string;
        type?: undefined;
        alwaysLoad?: undefined;
    } | {
        type: string;
        command: string;
        args: any[];
        env: {
            LINEAR_API_URL: any;
        };
        description: string;
        alwaysLoad: boolean;
    };
    function handleToolCall(name: any, args: any): Promise<string>;
    let tools: ({
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                limit: {
                    type: string;
                    description: string;
                };
                teamId?: undefined;
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                identifier?: undefined;
                issueId?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                teamId: {
                    type: string;
                    description: string;
                };
                teamKey: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                identifier?: undefined;
                issueId?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                teamId: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                identifier?: undefined;
                issueId?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                teamId: {
                    type: string;
                    description: string;
                };
                teamKey: {
                    type: string;
                    description: string;
                };
                stateId: {
                    type: string;
                    description: string;
                };
                stateName: {
                    type: string;
                    description: string;
                };
                label: {
                    type: string;
                    description: string;
                };
                assigneeId: {
                    type: string;
                    description: string;
                };
                updatedAfter: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                identifier?: undefined;
                issueId?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                identifier: {
                    type: string;
                    description: string;
                };
                issueId: {
                    type: string;
                    description: string;
                };
                limit?: undefined;
                teamId?: undefined;
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                identifier: {
                    type: string;
                    description: string;
                };
                issueId: {
                    type: string;
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                teamId?: undefined;
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                body?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                identifier: {
                    type: string;
                    description: string;
                };
                issueId: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                limit?: undefined;
                teamId?: undefined;
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                toStatus?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                identifier: {
                    type: string;
                    description: string;
                };
                issueId: {
                    type: string;
                    description: string;
                };
                stateId: {
                    type: string;
                    description: string;
                };
                stateName: {
                    type: string;
                    description: string;
                };
                toStatus: {
                    type: string;
                    description: string;
                };
                limit?: undefined;
                teamId?: undefined;
                teamKey?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                body?: undefined;
                url?: undefined;
                title?: undefined;
                subtitle?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                identifier: {
                    type: string;
                    description: string;
                };
                issueId: {
                    type: string;
                    description: string;
                };
                url: {
                    type: string;
                    description: string;
                };
                title: {
                    type: string;
                    description: string;
                };
                subtitle: {
                    type: string;
                    description: string;
                };
                limit?: undefined;
                teamId?: undefined;
                teamKey?: undefined;
                stateId?: undefined;
                stateName?: undefined;
                label?: undefined;
                assigneeId?: undefined;
                updatedAfter?: undefined;
                body?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    })[];
}
