/** Live-manifest MCP section, env-ref and config-reload schemas. */ import { z } from 'zod'; /** * The back-reference a connector writes onto a manifest MCP entry to mark it * connector-owned: the connection and the provider sub-service that own it. * Hand-authored entries carry no `managed` marker. */ export declare const connectorRef: z.ZodObject<{ connection_id: z.ZodString; provider_id: z.ZodString; sub_service: z.ZodString; }, z.core.$strip>; export type ConnectorRef = z.infer; /** * One entry of the live manifest's MCP section. Only the `managed` provenance * marker is typed — the connect/disconnect flows write it server-side to point a * connector-owned entry back at its connection, and the editor renders such * entries read-only. `.nullish()` because a hand-authored entry carries `null` * (present) or omits the key. Every other field (title, config, extensions) rides * through `.loose()` unmodeled so the config editor keeps editing the whole * entry — narrowing it to a typed subset would silently strip the fields it saves. */ export declare const manifestMcpEntry: z.ZodObject<{ managed: z.ZodOptional>>; }, z.core.$loose>; export type ManifestMcpEntry = z.infer; export declare const manifestView: z.ZodObject<{ mcp: z.ZodArray>>; }, z.core.$loose>>; user_tools: z.ZodArray; }, z.core.$strip>; /** * One `!ENV ${VAR[:default]}` marker the manifest's MCP section carries * (`GET /api/manifest/mcp-env-refs`) — NAMES and BOOLEANS only, NEVER values. * `pointer` is the RFC 6901 json-pointer of the leaf (`/mcp//config/...`); * `has_default` is whether the marker carries a `:default`; `set` is whether the * var resolves in the EFFECTIVE env (the resolution truth the install-time * dangling refusal reads), so a var supplied by the deployment shows green, never * a false red. The checklist derives from THIS alone — no env value is ever fetched. */ export declare const mcpEnvRef: z.ZodObject<{ var: z.ZodString; pointer: z.ZodString; has_default: z.ZodBoolean; set: z.ZodBoolean; }, z.core.$strip>; export type McpEnvRef = z.infer; export declare const mcpEnvRefs: z.ZodArray>; export type McpEnvRefs = z.infer; /** * The apply result every config-writer mutation returns (`POST /api/mcp-config`, * `POST /api/config/env`): the serving worker's local reload result (`status` + * `env_keys`) plus the mode-wrapped fleet fan-out of the reload it broadcast. The * `fanout` is parsed EXPLICITLY so the shared fleet-report handler can surface a * failed propagation — zod's unknown-key stripping would otherwise hide it. A drift * throws `ApiSchemaError`. */ export declare const reloadConfigResult: z.ZodObject<{ status: z.ZodString; env_keys: z.ZodNumber; fanout: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"local-only">; note: z.ZodString; }, z.core.$strip>, z.ZodObject<{ op: z.ZodString; reachable: z.ZodBoolean; local_only: z.ZodBoolean; results: z.ZodArray; payload: z.ZodType>; error: z.ZodNullable; detail: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; mode: z.ZodLiteral<"fleet">; }, z.core.$strip>, z.ZodObject<{ op: z.ZodString; reachable: z.ZodBoolean; local_only: z.ZodBoolean; results: z.ZodArray; payload: z.ZodType>; error: z.ZodNullable; detail: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; mode: z.ZodLiteral<"unreachable">; }, z.core.$strip>], "mode">; }, z.core.$strip>; export type ReloadConfigResult = z.infer; //# sourceMappingURL=manifest-mcp.d.ts.map