/**
 * Low-level Jira REST helper. Resolves the OAuth bearer + cloudId via
 * resolveIntegrationToken('jira'), retries once on transient auth errors,
 * and returns parsed JSON (or `{ raw }` for non-JSON bodies).
 *
 * Exported so other templates (e.g. tracker-writeback) can issue Jira
 * REST calls the JIRA skill's MCP tools don't cover — currently the only
 * gap is attaching a PR remote-link; everything else (transition, comment)
 * has a first-class tool. Keep this the single auth/cloudId chokepoint;
 * don't re-implement token resolution at call sites.
 *
 * @param {string} path  Jira REST path, e.g. `/rest/api/3/issue/PROJ-1`
 * @param {{ method?: string, body?: any, headers?: object }} [opts]
 * @returns {Promise<any>} parsed JSON response body
 */
export function jiraFetch(path: string, opts?: {
    method?: string;
    body?: any;
    headers?: object;
}): Promise<any>;
export namespace jiraSkill {
    let id: string;
    let serverName: string;
    let allowedTools: string[];
    let requiresIntegration: "jira";
    let envKeys: string[];
    let description: string;
    let promptFragment: string;
    function resolve(): {
        command: string;
        args: any[];
        env: {
            ATLASSIAN_INSTANCE_URL: any;
        };
        description: string;
    };
    function handleToolCall(name: any, args: any): Promise<string>;
    let tools: ({
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectKey?: undefined;
                jql?: undefined;
                maxResults?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectKey: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                maxResults?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectKey: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                maxResults?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                jql: {
                    type: string;
                    description: string;
                };
                maxResults: {
                    type: string;
                    description: string;
                };
                projectKey?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                projectKey?: undefined;
                jql?: undefined;
                maxResults?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectKey: {
                    type: string;
                    description: string;
                };
                summary: {
                    type: string;
                    description: string;
                };
                issueType: {
                    type: string;
                    description: string;
                };
                description: {
                    type: string;
                    description: string;
                };
                priority: {
                    type: string;
                    description: string;
                };
                labels: {
                    type: string;
                    items: {
                        type: string;
                    };
                    description: string;
                };
                assigneeId: {
                    type: string;
                    description: string;
                };
                moveToSprint: {
                    type: string;
                    description: string;
                };
                moveToActiveSprint: {
                    type: string;
                    description: string;
                };
                sprintId: {
                    type: string;
                    description: string;
                };
                sprintName: {
                    type: string;
                    description: string;
                };
                target: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                maxResults?: undefined;
                issueKey?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                projectKey: {
                    type: string;
                    description: string;
                };
                state: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                maxResults?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                sprintName: {
                    type: string;
                    description: string;
                };
                sprintId: {
                    type: string;
                    description: string;
                };
                projectKey: {
                    type: string;
                    description: string;
                };
                status: {
                    type: string;
                    description: string;
                };
                maxResults: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                issueKey?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                target?: undefined;
                state?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                projectKey: {
                    type: string;
                    description: string;
                };
                sprintId: {
                    type: string;
                    description: string;
                };
                sprintName: {
                    type: string;
                    description: string;
                };
                target: {
                    type: string;
                    description: string;
                };
                jql?: undefined;
                maxResults?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                maxResults: {
                    type: string;
                    description: string;
                };
                projectKey?: undefined;
                jql?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                body: {
                    type: string;
                    description: string;
                };
                projectKey?: undefined;
                jql?: undefined;
                maxResults?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                fields?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                fields: {
                    type: string;
                    description: string;
                    additionalProperties: boolean;
                };
                projectKey?: undefined;
                jql?: undefined;
                maxResults?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                transitionId?: undefined;
                toStatus?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                issueKey: {
                    type: string;
                    description: string;
                };
                transitionId: {
                    type: string;
                    description: string;
                };
                toStatus: {
                    type: string;
                    description: string;
                };
                projectKey?: undefined;
                jql?: undefined;
                maxResults?: undefined;
                summary?: undefined;
                issueType?: undefined;
                description?: undefined;
                priority?: undefined;
                labels?: undefined;
                assigneeId?: undefined;
                moveToSprint?: undefined;
                moveToActiveSprint?: undefined;
                sprintId?: undefined;
                sprintName?: undefined;
                target?: undefined;
                state?: undefined;
                status?: undefined;
                body?: undefined;
                fields?: undefined;
            };
            required: string[];
        };
    })[];
}
