type AlertCapabilityParam = {
    key: string;
    label: string;
    unit?: string;
    default: number;
    min?: number;
    max?: number;
};
type AlertCapability = {
    key: string;
    title: string;
    unit?: string;
    area: string;
    allowedKinds: string[];
    allowedScopes: string[];
    params?: AlertCapabilityParam[];
};
/** One `list_alert_capabilities` line. Health capabilities must surface their params
 * (with defaults) so the caller can tune thresholds without a second round trip. */
export declare function formatCapabilityLine(capability: AlertCapability): string;
export declare const listAlertCapabilitiesTool: {
    name: string;
    title: string;
    description: string;
    inputSchema: {
        projectRef: import("zod").ZodOptional<import("zod").ZodString>;
        configPath: import("zod").ZodOptional<import("zod").ZodString>;
        area: import("zod").ZodOptional<import("zod").ZodString>;
    };
    handler: (input: unknown, extra: import("../types.js").ToolMeta) => Promise<{
        [x: string]: unknown;
        _meta?: {
            [x: string]: unknown;
            progressToken?: string | number | undefined;
            "io.modelcontextprotocol/related-task"?: {
                taskId: string;
            } | undefined;
        } | undefined;
        content: ({
            type: "text";
            text: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "image";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "audio";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            uri: string;
            description?: string | undefined;
            mimeType?: string | undefined;
            size?: number | undefined;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
            icons?: {
                src: string;
                mimeType?: string | undefined;
                sizes?: string[] | undefined;
                theme?: "dark" | "light" | undefined;
            }[] | undefined;
            name: string;
            title?: string | undefined;
            type: "resource_link";
        } | {
            type: "resource";
            resource: {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                text: string;
            } | {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                blob: string;
            };
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        })[];
        structuredContent?: {
            [x: string]: unknown;
        } | undefined;
        isError?: boolean | undefined;
    }>;
};
export declare const listAlertsTool: {
    name: string;
    title: string;
    description: string;
    inputSchema: {
        projectRef: import("zod").ZodOptional<import("zod").ZodString>;
        configPath: import("zod").ZodOptional<import("zod").ZodString>;
        environment: import("zod").ZodDefault<import("zod").ZodEnum<{
            dev: "dev";
            preview: "preview";
            prod: "prod";
            staging: "staging";
        }>>;
        branch: import("zod").ZodOptional<import("zod").ZodString>;
        lifecycle: import("zod").ZodOptional<import("zod").ZodEnum<{
            active: "active";
            completed: "completed";
            expired: "expired";
            stopped: "stopped";
        }>>;
        attention: import("zod").ZodOptional<import("zod").ZodEnum<{
            clear: "clear";
            needs_attention: "needs_attention";
        }>>;
    };
    handler: (input: unknown, extra: import("../types.js").ToolMeta) => Promise<{
        [x: string]: unknown;
        _meta?: {
            [x: string]: unknown;
            progressToken?: string | number | undefined;
            "io.modelcontextprotocol/related-task"?: {
                taskId: string;
            } | undefined;
        } | undefined;
        content: ({
            type: "text";
            text: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "image";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "audio";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            uri: string;
            description?: string | undefined;
            mimeType?: string | undefined;
            size?: number | undefined;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
            icons?: {
                src: string;
                mimeType?: string | undefined;
                sizes?: string[] | undefined;
                theme?: "dark" | "light" | undefined;
            }[] | undefined;
            name: string;
            title?: string | undefined;
            type: "resource_link";
        } | {
            type: "resource";
            resource: {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                text: string;
            } | {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                blob: string;
            };
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        })[];
        structuredContent?: {
            [x: string]: unknown;
        } | undefined;
        isError?: boolean | undefined;
    }>;
};
export declare const createAlertTool: {
    name: string;
    title: string;
    description: string;
    inputSchema: {
        projectRef: import("zod").ZodOptional<import("zod").ZodString>;
        configPath: import("zod").ZodOptional<import("zod").ZodString>;
        environment: import("zod").ZodDefault<import("zod").ZodEnum<{
            dev: "dev";
            preview: "preview";
            prod: "prod";
            staging: "staging";
        }>>;
        branch: import("zod").ZodOptional<import("zod").ZodString>;
        capabilityKey: import("zod").ZodString;
        params: import("zod").ZodObject<{
            scope: import("zod").ZodOptional<import("zod").ZodObject<{
                type: import("zod").ZodEnum<{
                    all: "all";
                    errorGroup: "errorGroup";
                    queue: "queue";
                    queuePattern: "queuePattern";
                    task: "task";
                }>;
                queue: import("zod").ZodOptional<import("zod").ZodString>;
                pattern: import("zod").ZodOptional<import("zod").ZodString>;
                taskIdentifier: import("zod").ZodOptional<import("zod").ZodString>;
                fingerprint: import("zod").ZodOptional<import("zod").ZodString>;
            }, import("zod/v4/core").$strip>>;
            windowSec: import("zod").ZodOptional<import("zod").ZodNumber>;
        }, import("zod/v4/core").$strip>;
        condition: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
            kind: import("zod").ZodLiteral<"threshold">;
            operator: import("zod").ZodEnum<{
                "<": "<";
                ">": ">";
            }>;
            value: import("zod").ZodNumber;
            windowSec: import("zod").ZodNumber;
            holdSec: import("zod").ZodOptional<import("zod").ZodNumber>;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            kind: import("zod").ZodLiteral<"state">;
            stateKey: import("zod").ZodString;
            holdSec: import("zod").ZodOptional<import("zod").ZodNumber>;
            params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            kind: import("zod").ZodLiteral<"occurrence">;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            kind: import("zod").ZodLiteral<"absence">;
            quietWindowSec: import("zod").ZodNumber;
        }, import("zod/v4/core").$strip>], "kind">;
        behavior: import("zod").ZodObject<{
            expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
        }, import("zod/v4/core").$strip>;
        notifiers: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
            type: import("zod").ZodLiteral<"channel">;
            channelId: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            type: import("zod").ZodLiteral<"chat">;
            chatId: import("zod").ZodString;
            userId: import("zod").ZodOptional<import("zod").ZodString>;
        }, import("zod/v4/core").$strip>], "type">>;
        name: import("zod").ZodOptional<import("zod").ZodString>;
    };
    handler: (input: unknown, extra: import("../types.js").ToolMeta) => Promise<{
        [x: string]: unknown;
        _meta?: {
            [x: string]: unknown;
            progressToken?: string | number | undefined;
            "io.modelcontextprotocol/related-task"?: {
                taskId: string;
            } | undefined;
        } | undefined;
        content: ({
            type: "text";
            text: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "image";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "audio";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            uri: string;
            description?: string | undefined;
            mimeType?: string | undefined;
            size?: number | undefined;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
            icons?: {
                src: string;
                mimeType?: string | undefined;
                sizes?: string[] | undefined;
                theme?: "dark" | "light" | undefined;
            }[] | undefined;
            name: string;
            title?: string | undefined;
            type: "resource_link";
        } | {
            type: "resource";
            resource: {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                text: string;
            } | {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                blob: string;
            };
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        })[];
        structuredContent?: {
            [x: string]: unknown;
        } | undefined;
        isError?: boolean | undefined;
    }>;
};
export declare const resolveAlertTool: {
    name: string;
    title: string;
    description: string;
    inputSchema: {
        projectRef: import("zod").ZodOptional<import("zod").ZodString>;
        configPath: import("zod").ZodOptional<import("zod").ZodString>;
        environment: import("zod").ZodDefault<import("zod").ZodEnum<{
            dev: "dev";
            preview: "preview";
            prod: "prod";
            staging: "staging";
        }>>;
        branch: import("zod").ZodOptional<import("zod").ZodString>;
        alertId: import("zod").ZodString;
    };
    handler: (input: unknown, extra: import("../types.js").ToolMeta) => Promise<{
        [x: string]: unknown;
        _meta?: {
            [x: string]: unknown;
            progressToken?: string | number | undefined;
            "io.modelcontextprotocol/related-task"?: {
                taskId: string;
            } | undefined;
        } | undefined;
        content: ({
            type: "text";
            text: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "image";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            type: "audio";
            data: string;
            mimeType: string;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        } | {
            uri: string;
            description?: string | undefined;
            mimeType?: string | undefined;
            size?: number | undefined;
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
            icons?: {
                src: string;
                mimeType?: string | undefined;
                sizes?: string[] | undefined;
                theme?: "dark" | "light" | undefined;
            }[] | undefined;
            name: string;
            title?: string | undefined;
            type: "resource_link";
        } | {
            type: "resource";
            resource: {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                text: string;
            } | {
                uri: string;
                mimeType?: string | undefined;
                _meta?: {
                    [x: string]: unknown;
                } | undefined;
                blob: string;
            };
            annotations?: {
                audience?: ("assistant" | "user")[] | undefined;
                priority?: number | undefined;
                lastModified?: string | undefined;
            } | undefined;
            _meta?: {
                [x: string]: unknown;
            } | undefined;
        })[];
        structuredContent?: {
            [x: string]: unknown;
        } | undefined;
        isError?: boolean | undefined;
    }>;
};
export {};
