import type { RequestHandler } from 'express';
/**
 * JSON Schema для `els.config.json` (auto-discovery конфиг проекта).
 *
 * Публикуется на `GET /els/schema/els.config.schema.json` без auth.
 * Используется IDE (VSCode/JetBrains) через `$schema`-ссылку в самом
 * файле — автокомплит полей.
 */
export declare const ELS_CONFIG_SCHEMA: {
    readonly $schema: "http://json-schema.org/draft-07/schema#";
    readonly $id: "https://mcp.insoweb.ru/els/schema/els.config.schema.json";
    readonly title: "INSO Event Logs project config";
    readonly description: "Project-level config for INSO Event Logs MCP auto-discovery. Place at project root as `els.config.json` or inline under `inso.els` in package.json.";
    readonly type: "object";
    readonly additionalProperties: false;
    readonly required: readonly ["appSlug"];
    readonly properties: {
        readonly $schema: {
            readonly type: "string";
            readonly description: "URL of this JSON Schema (for editor autocomplete).";
        };
        readonly appSlug: {
            readonly type: "string";
            readonly minLength: 1;
            readonly maxLength: 255;
            readonly description: "Slug of the application as known to INSO ELS. Used by all tool calls when not specified explicitly.";
        };
        readonly environments: {
            readonly type: "object";
            readonly description: "Mapping of logical environment names (e.g. \"dev\", \"production\") to ELS deploymentEnv values (\"DEV\", \"PRODUCTION\").";
            readonly additionalProperties: {
                readonly type: "string";
            };
            readonly examples: readonly [{
                readonly dev: "DEV";
                readonly production: "PRODUCTION";
            }];
        };
        readonly defaultEnvironment: {
            readonly type: "string";
            readonly description: "Default environment key from `environments` map. When agent is uncertain, this is used.";
        };
        readonly alerts: {
            readonly type: "object";
            readonly additionalProperties: false;
            readonly properties: {
                readonly criticalRateThreshold: {
                    readonly type: "number";
                    readonly minimum: 0;
                    readonly description: "Threshold of CRITICAL errors per hour above which the agent should warn the user proactively.";
                };
            };
        };
    };
};
export declare function elsConfigSchemaHandler(): RequestHandler;
//# sourceMappingURL=schema.d.ts.map