/** Pluggable-kind status and MCP status/reload response schemas. */ import { z } from 'zod'; export declare const kindStatus: z.ZodObject<{ kind: z.ZodString; state: z.ZodEnum<{ default: "default"; active: "active"; off: "off"; }>; plugin: z.ZodNullable; detail: z.ZodString; }, z.core.$strip>; export declare const kindStatusList: z.ZodArray; plugin: z.ZodNullable; detail: z.ZodString; }, z.core.$strip>>; export type KindStatus = z.infer; /** * `POST /api/tools/{name}/extensions` — the apply result. The write persists the * manifest, reloads locally, then broadcasts the reload to the whole fleet. The * response is the one apply-result shape every config-writer returns: the local * reload result (`status` + `env_keys`) plus the mode-wrapped fleet `fanout`. The * fan-out rides EVERY deployment (a lone worker reports `local-only`), so this flat * shape parses every save and the shared fleet-report handler renders any failed * propagation from `fanout`. */ export declare const toolExtensionsApplyResult: 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 ToolExtensionsApplyResult = z.infer; export declare const mcpStatus: z.ZodObject<{ bound: z.ZodRecord>; failed: z.ZodArray>; }, z.core.$strip>; /** * `POST /api/mcp-status/{title}/reload` — re-probe a single MCP server and broadcast * the reload to the fleet. The response is the bare per-worker {@link fleetResult} * (the serving worker's re-probe rides its own `results` entry as the payload); there * is no local/workers split. A drift throws `ApiSchemaError`. */ export declare const mcpReloadResult: 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; }, z.core.$strip>; export type McpReloadResult = z.infer; //# sourceMappingURL=system-kinds.d.ts.map