import { z } from "zod"; export declare const WebhookAuthorizationRecipeSchema: z.ZodObject<{ kind: z.ZodLiteral<"webhook-authorization">; schemaVersion: z.ZodLiteral<"1">; handle: z.ZodString; name: z.ZodString; displayName: z.ZodString; description: z.ZodOptional; auth: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"ApiKey">; headerName: z.ZodString; key: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"Basic">; username: z.ZodString; password: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"OAuth2ClientCredentialsGrant">; tokenEndpoint: z.ZodString; clientId: z.ZodString; clientSecret: z.ZodString; scope: z.ZodOptional; audience: z.ZodOptional; }, z.core.$strip>], "type">; }, z.core.$strip>; export type WebhookAuthorizationRecipe = z.input; /** * Cross-field validations (`initialState` must match a declared state, * `nextState` refs must resolve, at least one final state, action auth * is `Ref` XOR `Path`) live in `compileWorkflowRecipe` — not on the * schema — because Zod's `discriminatedUnion` rejects `ZodEffects` * members and we need this schema in `RecipeSchema`. Same pattern * `EnumerationRecipeSchema` uses for its `default ∈ values` check. */ export declare const WorkflowRecipeSchema: z.ZodObject<{ kind: z.ZodLiteral<"workflow">; schemaVersion: z.ZodLiteral<"1">; handle: z.ZodString; name: z.ZodString; displayName: z.ZodString; description: z.ZodOptional; icon: z.ZodOptional; meta: z.ZodOptional>; group: z.ZodOptional>; subgroup: z.ZodOptional>; tag: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>>; initialState: z.ZodString; states: z.ZodArray; preview: z.ZodDefault; actions: z.ZodDefault; authorizationPath: z.ZodOptional; key: z.ZodString; url: z.ZodString; displayName: z.ZodOptional; description: z.ZodOptional; serializationType: z.ZodDefault>; enabled: z.ZodDefault; kind: z.ZodLiteral<"webhook-submit">; }, z.core.$strip>, z.ZodObject<{ authorizationRef: z.ZodOptional; authorizationPath: z.ZodOptional; key: z.ZodString; url: z.ZodString; displayName: z.ZodOptional; description: z.ZodOptional; serializationType: z.ZodDefault>; enabled: z.ZodDefault; kind: z.ZodLiteral<"webhook-validation">; }, z.core.$strip>], "kind">>>; commands: z.ZodDefault; suppressComment: z.ZodDefault; appearanceEvaluator: z.ZodDefault>; secured: z.ZodDefault; validations: z.ZodDefault; authorizationPath: z.ZodOptional; key: z.ZodString; url: z.ZodString; displayName: z.ZodOptional; description: z.ZodOptional; serializationType: z.ZodDefault>; enabled: z.ZodDefault; kind: z.ZodLiteral<"webhook-validation">; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>>; bindings: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; export type WorkflowRecipe = z.input;