baldrick-broth
Version:
Build automation tool and task runner
1,317 lines (1,316 loc) • 222 kB
TypeScript
/**
* Responsibilities: Defines the Broth build model using Zod schemas and types.
* - Validates YAML-driven workflows, tasks, commands, and engine metadata
* - Exposes safe parsing with structured ValidationError messages
*/
import { z } from 'zod';
import { type ValidationError } from './format-message.js';
import { type Result } from './railway.js';
/** JSON like */
declare const literalSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
type Literal = z.infer<typeof literalSchema>;
type Json = Literal | {
[key: string]: Json;
} | Json[];
declare const jsonishSchema: z.ZodType<Json>;
declare const onShellCommandFinish: z.ZodEnum<{
[x: string]: string;
}>;
declare const anyCommand: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"get-property">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<{
[x: string]: string;
}>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<{
[x: string]: string;
}>;
anyOf: z.ZodArray<z.ZodString>;
}, z.core.$strict>>>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"string-array">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"concat-array">;
}, z.core.$strict>, z.ZodObject<{
separator: z.ZodPrefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-string">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-lines">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-falsy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-falsy">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"not">;
}, z.core.$strict>, z.ZodObject<{
start: z.ZodPrefault<z.ZodInt>;
end: z.ZodInt;
step: z.ZodPrefault<z.ZodInt>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"range">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"invert-object">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"mask-object">;
}, z.core.$strict>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"template">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-input">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-confirm">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-password">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
select: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-select">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
choices: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-choices">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"append-to-file">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"write-to-file">;
}, z.core.$strict>], "a">, z.ZodObject<{
a: z.ZodPrefault<z.ZodLiteral<"shell">>;
onFailure: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
onSuccess: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
if: z.ZodOptional<z.ZodString>;
stdin: z.ZodOptional<z.ZodString>;
run: z.ZodString;
multiline: z.ZodPrefault<z.ZodBoolean>;
name: z.ZodOptional<z.ZodString>;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
}, z.core.$strip>]>;
declare const batchStep: z.ZodObject<{
name: z.ZodPrefault<z.ZodEnum<{
[x: string]: string;
}>>;
if: z.ZodOptional<z.ZodString>;
each: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
values: z.ZodString;
}, z.core.$strip>>>;
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"get-property">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<{
[x: string]: string;
}>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<{
[x: string]: string;
}>;
anyOf: z.ZodArray<z.ZodString>;
}, z.core.$strict>>>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"string-array">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"concat-array">;
}, z.core.$strict>, z.ZodObject<{
separator: z.ZodPrefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-string">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-lines">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-falsy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-falsy">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"not">;
}, z.core.$strict>, z.ZodObject<{
start: z.ZodPrefault<z.ZodInt>;
end: z.ZodInt;
step: z.ZodPrefault<z.ZodInt>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"range">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"invert-object">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"mask-object">;
}, z.core.$strict>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"template">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-input">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-confirm">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-password">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
select: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-select">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
choices: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-choices">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"append-to-file">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"write-to-file">;
}, z.core.$strict>], "a">, z.ZodObject<{
a: z.ZodPrefault<z.ZodLiteral<"shell">>;
onFailure: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
onSuccess: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
if: z.ZodOptional<z.ZodString>;
stdin: z.ZodOptional<z.ZodString>;
run: z.ZodString;
multiline: z.ZodPrefault<z.ZodBoolean>;
name: z.ZodOptional<z.ZodString>;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
}, z.core.$strip>]>>;
}, z.core.$strict>;
declare const task: z.ZodObject<{
name: z.ZodPrefault<z.ZodString>;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
description: z.ZodString;
flags: z.ZodString;
default: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>;
main: z.ZodObject<{
name: z.ZodPrefault<z.ZodEnum<{
[x: string]: string;
}>>;
if: z.ZodOptional<z.ZodString>;
each: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
values: z.ZodString;
}, z.core.$strip>>>;
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"get-property">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<{
[x: string]: string;
}>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<{
[x: string]: string;
}>;
anyOf: z.ZodArray<z.ZodString>;
}, z.core.$strict>>>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"string-array">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"concat-array">;
}, z.core.$strict>, z.ZodObject<{
separator: z.ZodPrefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-string">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-lines">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-falsy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-falsy">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"not">;
}, z.core.$strict>, z.ZodObject<{
start: z.ZodPrefault<z.ZodInt>;
end: z.ZodInt;
step: z.ZodPrefault<z.ZodInt>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"range">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"invert-object">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"mask-object">;
}, z.core.$strict>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"template">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-input">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-confirm">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-password">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
select: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-select">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
choices: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-choices">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"append-to-file">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"write-to-file">;
}, z.core.$strict>], "a">, z.ZodObject<{
a: z.ZodPrefault<z.ZodLiteral<"shell">>;
onFailure: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
onSuccess: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
if: z.ZodOptional<z.ZodString>;
stdin: z.ZodOptional<z.ZodString>;
run: z.ZodString;
multiline: z.ZodPrefault<z.ZodBoolean>;
name: z.ZodOptional<z.ZodString>;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
}, z.core.$strip>]>>;
}, z.core.$strict>;
before: z.ZodOptional<z.ZodObject<{
name: z.ZodPrefault<z.ZodEnum<{
[x: string]: string;
}>>;
if: z.ZodOptional<z.ZodString>;
each: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
values: z.ZodString;
}, z.core.$strip>>>;
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"get-property">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<{
[x: string]: string;
}>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<{
[x: string]: string;
}>;
anyOf: z.ZodArray<z.ZodString>;
}, z.core.$strict>>>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"string-array">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"concat-array">;
}, z.core.$strict>, z.ZodObject<{
separator: z.ZodPrefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-string">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-lines">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-falsy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-falsy">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"not">;
}, z.core.$strict>, z.ZodObject<{
start: z.ZodPrefault<z.ZodInt>;
end: z.ZodInt;
step: z.ZodPrefault<z.ZodInt>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"range">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"invert-object">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"mask-object">;
}, z.core.$strict>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"template">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-input">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-confirm">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-password">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
select: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-select">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;
choices: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"prompt-choices">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"append-to-file">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"write-to-file">;
}, z.core.$strict>], "a">, z.ZodObject<{
a: z.ZodPrefault<z.ZodLiteral<"shell">>;
onFailure: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
onSuccess: z.ZodPrefault<z.ZodArray<z.ZodEnum<{
[x: string]: string;
}>>>;
if: z.ZodOptional<z.ZodString>;
stdin: z.ZodOptional<z.ZodString>;
run: z.ZodString;
multiline: z.ZodPrefault<z.ZodBoolean>;
name: z.ZodOptional<z.ZodString>;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
}, z.core.$strip>]>>;
}, z.core.$strict>>;
after: z.ZodOptional<z.ZodObject<{
name: z.ZodPrefault<z.ZodEnum<{
[x: string]: string;
}>>;
if: z.ZodOptional<z.ZodString>;
each: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
values: z.ZodString;
}, z.core.$strip>>>;
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"get-property">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<{
[x: string]: string;
}>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<{
[x: string]: string;
}>;
anyOf: z.ZodArray<z.ZodString>;
}, z.core.$strict>>>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"string-array">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"concat-array">;
}, z.core.$strict>, z.ZodObject<{
separator: z.ZodPrefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-string">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"split-lines">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"some-falsy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-truthy">;
}, z.core.$strict>, z.ZodObject<{
values: z.ZodArray<z.ZodString>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"every-falsy">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"not">;
}, z.core.$strict>, z.ZodObject<{
start: z.ZodPrefault<z.ZodInt>;
end: z.ZodInt;
step: z.ZodPrefault<z.ZodInt>;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"range">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"invert-object">;
}, z.core.$strict>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"mask-object">;
}, z.core.$strict>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodString;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodString;
url: z.ZodURL;
}, z.core.$strip>>>;
a: z.ZodLiteral<"template">;
}, z.core.$strict>, z.ZodObject<{
message: z.ZodString;