import { z } from "zod"; //#region src/store-mutation-protocol.d.ts /** Browser-safe runtime schema for terminal CLI evidence retained by a Store mutation. */ declare const StoreMutationResultSchema: z.ZodObject<{ exitStatus: z.ZodNullable; stdout: z.ZodOptional; stderr: z.ZodOptional; diagnostics: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; payload: z.ZodOptional; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }>; /** Browser-safe correlated schema for one Server-owned Store mutation record. */ declare const StoreMutationSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["accepted", "running"]>; result: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }>, z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>; result: z.ZodObject<{ exitStatus: z.ZodNullable; stdout: z.ZodOptional; stderr: z.ZodOptional; diagnostics: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; payload: z.ZodOptional; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }>]>; /** Runtime-decoded response for a mutation admission or a request-id rejoin. */ declare const StoreMutationStartResponseSchema: z.ZodIntersection; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["accepted", "running"]>; result: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }>, z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>; result: z.ZodObject<{ exitStatus: z.ZodNullable; stdout: z.ZodOptional; stderr: z.ZodOptional; diagnostics: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; payload: z.ZodOptional; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }>]>, z.ZodObject<{ rejoined: z.ZodBoolean; }, "strip", z.ZodTypeAny, { rejoined: boolean; }, { rejoined: boolean; }>>; /** Runtime-decoded Server lifecycle stream: a complete local-ledger snapshot or one changed record. */ declare const StoreMutationLifecycleEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"snapshot">; cursor: z.ZodNumber; records: z.ZodArray; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["accepted", "running"]>; result: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }>, z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>; result: z.ZodObject<{ exitStatus: z.ZodNullable; stdout: z.ZodOptional; stderr: z.ZodOptional; diagnostics: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; payload: z.ZodOptional; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "snapshot"; cursor: number; records: ({ status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; } | { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; })[]; }, { type: "snapshot"; cursor: number; records: ({ status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; } | { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; })[]; }>, z.ZodObject<{ type: z.ZodLiteral<"changed">; cursor: z.ZodNumber; record: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["accepted", "running"]>; result: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }, { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; }>, z.ZodObject<{ requestId: z.ZodString; envUri: z.ZodString; kind: z.ZodEnum<["setup", "register", "unregister", "remove"]>; storeId: z.ZodOptional; observedAt: z.ZodNumber; } & { status: z.ZodEnum<["succeeded", "failed", "indeterminate"]>; result: z.ZodObject<{ exitStatus: z.ZodNullable; stdout: z.ZodOptional; stderr: z.ZodOptional; diagnostics: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; payload: z.ZodOptional; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }, { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }, { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "changed"; cursor: number; record: { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; } | { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }; }, { type: "changed"; cursor: number; record: { status: "accepted" | "running"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; storeId?: string | undefined; result?: undefined; } | { status: "failed" | "succeeded" | "indeterminate"; kind: "setup" | "register" | "unregister" | "remove"; requestId: string; envUri: string; observedAt: number; result: { exitStatus: number | null; stdout?: string | undefined; stderr?: string | undefined; payload?: unknown; diagnostics?: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; contractError?: string | undefined; }; storeId?: string | undefined; }; }>]>; /** Runtime-decoded terminal CLI evidence. */ type StoreMutationResultEnvelope = z.infer; /** Runtime-decoded Server-owned Store mutation record. */ type StoreMutationEnvelope = z.infer; /** Runtime-decoded mutation admission or rejoin response. */ type StoreMutationStartResponse = z.infer; /** Runtime-decoded lifecycle snapshot/change event. */ type StoreMutationLifecycleEvent = z.infer; //#endregion export { StoreMutationResultSchema as a, StoreMutationStartResponseSchema as c, StoreMutationResultEnvelope as i, StoreMutationLifecycleEvent as n, StoreMutationSchema as o, StoreMutationLifecycleEventSchema as r, StoreMutationStartResponse as s, StoreMutationEnvelope as t };