import { z } from "zod"; /** * The `ue-mcp:` block at the top of ue-mcp.yml. Hosts project-level config * that every collaborator should share. Per-user-per-device preferences * (e.g. feedback approval mode) and machine-only state (e.g. installedHooks) * live in `~/.ue-mcp/state.json`, not here. * * ue-mcp: * version: 1 * contentRoots: ["/Game/"] * disable: ["gas"] * http: { enabled: false, port: 7723 } */ export declare const FlowVersionSchema: z.ZodObject<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>; export declare const FlowProjectSchema: z.ZodOptional; engine: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; engine?: string | undefined; }, { name?: string | undefined; engine?: string | undefined; }>>; export declare const GitSnapshotSchema: z.ZodOptional; paths: z.ZodDefault>; snapshot_dir: z.ZodDefault; max_age_hours: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; paths: string[]; snapshot_dir: string; max_age_hours: number; }, { enabled?: boolean | undefined; paths?: string[] | undefined; snapshot_dir?: string | undefined; max_age_hours?: number | undefined; }>>; /** * A plugin entry in the user's ue-mcp.yml. * `name` is the npm package; `version` is optional and honored at resolve time. */ export declare const PluginEntrySchema: z.ZodObject<{ name: z.ZodString; version: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; version?: string | undefined; }, { name: string; version?: string | undefined; }>; export type PluginEntry = z.infer; export declare const FlowConfigSchema: z.ZodObject<{ tasks: z.ZodDefault; group: z.ZodOptional; options: z.ZodDefault>>; idempotent: z.ZodOptional; reversible: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: Record; class_path: string; description?: string | undefined; group?: string | undefined; idempotent?: boolean | undefined; reversible?: boolean | undefined; }, { class_path: string; options?: Record | undefined; description?: string | undefined; group?: string | undefined; idempotent?: boolean | undefined; reversible?: boolean | undefined; }>>>; flows: z.ZodDefault; flow: z.ZodOptional; options: z.ZodOptional>; retries: z.ZodOptional; retryDelay: z.ZodOptional; retryOn: z.ZodOptional; }, "strip", z.ZodTypeAny, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>>; on_start: z.ZodOptional; flow: z.ZodOptional; options: z.ZodOptional>; retries: z.ZodOptional; retryDelay: z.ZodOptional; retryOn: z.ZodOptional; }, "strip", z.ZodTypeAny, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, "many">>; on_success: z.ZodOptional; flow: z.ZodOptional; options: z.ZodOptional>; retries: z.ZodOptional; retryDelay: z.ZodOptional; retryOn: z.ZodOptional; }, "strip", z.ZodTypeAny, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, "many">>; on_failure: z.ZodOptional; flow: z.ZodOptional; options: z.ZodOptional>; retries: z.ZodOptional; retryDelay: z.ZodOptional; retryOn: z.ZodOptional; }, "strip", z.ZodTypeAny, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, "many">>; finally: z.ZodOptional; flow: z.ZodOptional; options: z.ZodOptional>; retries: z.ZodOptional; retryDelay: z.ZodOptional; retryOn: z.ZodOptional; }, "strip", z.ZodTypeAny, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }, { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>, "many">>; rollback_on_failure: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; steps: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>; on_start?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_success?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_failure?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; finally?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; rollback_on_failure?: boolean | undefined; }, { description: string; steps: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>; on_start?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_success?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_failure?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; finally?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; rollback_on_failure?: boolean | undefined; }>>>; } & { "ue-mcp": z.ZodOptional; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; project: z.ZodOptional; engine: z.ZodOptional; }, "strip", z.ZodTypeAny, { name?: string | undefined; engine?: string | undefined; }, { name?: string | undefined; engine?: string | undefined; }>>; git_snapshot: z.ZodOptional; paths: z.ZodDefault>; snapshot_dir: z.ZodDefault; max_age_hours: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; paths: string[]; snapshot_dir: string; max_age_hours: number; }, { enabled?: boolean | undefined; paths?: string[] | undefined; snapshot_dir?: string | undefined; max_age_hours?: number | undefined; }>>; plugins: z.ZodDefault; }, "strip", z.ZodTypeAny, { name: string; version?: string | undefined; }, { name: string; version?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { plugins: { name: string; version?: string | undefined; }[]; tasks: Record; class_path: string; description?: string | undefined; group?: string | undefined; idempotent?: boolean | undefined; reversible?: boolean | undefined; }>; flows: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>; on_start?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_success?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_failure?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; finally?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; rollback_on_failure?: boolean | undefined; }>; "ue-mcp"?: z.objectOutputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough"> | undefined; project?: { name?: string | undefined; engine?: string | undefined; } | undefined; git_snapshot?: { enabled: boolean; paths: string[]; snapshot_dir: string; max_age_hours: number; } | undefined; }, { "ue-mcp"?: z.objectInputType<{ version: z.ZodLiteral<1>; contentRoots: z.ZodOptional>; disable: z.ZodOptional>; http: z.ZodOptional; port: z.ZodOptional; host: z.ZodOptional; }, "strip", z.ZodTypeAny, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }, { port?: number | undefined; enabled?: boolean | undefined; host?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough"> | undefined; project?: { name?: string | undefined; engine?: string | undefined; } | undefined; git_snapshot?: { enabled?: boolean | undefined; paths?: string[] | undefined; snapshot_dir?: string | undefined; max_age_hours?: number | undefined; } | undefined; plugins?: { name: string; version?: string | undefined; }[] | undefined; tasks?: Record | undefined; description?: string | undefined; group?: string | undefined; idempotent?: boolean | undefined; reversible?: boolean | undefined; }> | undefined; flows?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }>; on_start?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_success?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; on_failure?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; finally?: { options?: Record | undefined; task?: string | undefined; flow?: string | undefined; retries?: number | undefined; retryDelay?: number | undefined; retryOn?: string | undefined; }[] | undefined; rollback_on_failure?: boolean | undefined; }> | undefined; }>; export type FlowConfig = z.infer;