import * as z from "zod/mini"; import { type FormField } from "../form-fields.js"; export declare const DASHBOARD_RUN_CONFIG_SCHEMA: z.ZodMiniObject<{ description: z.ZodMiniOptional>; fields: z.ZodMiniPrefault>; maxLength: z.ZodMiniOptional; minLength: z.ZodMiniOptional; placeholder: z.ZodMiniOptional>; required: z.ZodMiniPrefault>; type: z.ZodMiniEnum<{ email: "email"; text: "text"; url: "url"; phone: "phone"; textarea: "textarea"; }>; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ defaultValue: z.ZodMiniOptional>; max: z.ZodMiniOptional>; min: z.ZodMiniOptional>; placeholder: z.ZodMiniOptional>; required: z.ZodMiniPrefault>; step: z.ZodMiniPrefault>; type: z.ZodMiniLiteral<"number">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ defaultValue: z.ZodMiniOptional; max: z.ZodMiniOptional; min: z.ZodMiniOptional; required: z.ZodMiniPrefault>; step: z.ZodMiniPrefault; type: z.ZodMiniLiteral<"date">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ defaultValue: z.ZodMiniOptional; max: z.ZodMiniOptional; min: z.ZodMiniOptional; required: z.ZodMiniPrefault>; step: z.ZodMiniPrefault>; type: z.ZodMiniLiteral<"datetime">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ type: z.ZodMiniLiteral<"select">; defaultValue: z.ZodMiniOptional>; options: z.ZodMiniArray; value: z.ZodMiniString; }, z.core.$strip>>; placeholder: z.ZodMiniOptional>; required: z.ZodMiniPrefault>; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ type: z.ZodMiniLiteral<"radio">; defaultValue: z.ZodMiniOptional>; options: z.ZodMiniArray; value: z.ZodMiniString; }, z.core.$strip>>; placeholder: z.ZodMiniOptional>; required: z.ZodMiniPrefault>; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ defaultValue: z.ZodMiniOptional>>; options: z.ZodMiniArray; value: z.ZodMiniString; }, z.core.$strip>>; placeholder: z.ZodMiniOptional>; required: z.ZodMiniPrefault>; type: z.ZodMiniLiteral<"multi-select">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ defaultValue: z.ZodMiniPrefault>; required: z.ZodMiniPrefault>; type: z.ZodMiniLiteral<"checkbox">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ required: z.ZodMiniPrefault>; type: z.ZodMiniLiteral<"file">; description: z.ZodMiniOptional>; label: z.ZodMiniOptional>; name: z.ZodMiniString; }, z.core.$strip>], "type">, z.ZodMiniTransform<{ label: string; required: boolean; type: "email" | "text" | "url" | "phone" | "textarea"; name: string; defaultValue?: string | undefined; maxLength?: number | undefined; minLength?: number | undefined; placeholder?: string | undefined; description?: string | undefined; } | { label: string; required: boolean; step: number; type: "number"; name: string; defaultValue?: number | undefined; max?: number | undefined; min?: number | undefined; placeholder?: string | undefined; description?: string | undefined; } | { label: string; required: boolean; step: number; type: "date"; name: string; defaultValue?: string | undefined; max?: string | undefined; min?: string | undefined; description?: string | undefined; } | { label: string; required: boolean; step: number; type: "datetime"; name: string; defaultValue?: string | undefined; max?: string | undefined; min?: string | undefined; description?: string | undefined; } | { label: string; type: "select"; options: { label: string; value: string; }[]; required: boolean; name: string; defaultValue?: string | undefined; placeholder?: string | undefined; description?: string | undefined; } | { label: string; type: "radio"; options: { label: string; value: string; }[]; required: boolean; name: string; defaultValue?: string | undefined; placeholder?: string | undefined; description?: string | undefined; } | { label: string; options: { label: string; value: string; }[]; required: boolean; type: "multi-select"; name: string; defaultValue?: string[] | undefined; placeholder?: string | undefined; description?: string | undefined; } | { label: string; defaultValue: boolean; required: boolean; type: "checkbox"; name: string; description?: string | undefined; } | { label: string; required: boolean; type: "file"; name: string; description?: string | undefined; }, { required: boolean; type: "email" | "text" | "url" | "phone" | "textarea"; name: string; defaultValue?: string | undefined; maxLength?: number | undefined; minLength?: number | undefined; placeholder?: string | undefined; description?: string | undefined; label?: string | undefined; } | { required: boolean; step: number; type: "number"; name: string; defaultValue?: number | undefined; max?: number | undefined; min?: number | undefined; placeholder?: string | undefined; description?: string | undefined; label?: string | undefined; } | { required: boolean; step: number; type: "date"; name: string; defaultValue?: string | undefined; max?: string | undefined; min?: string | undefined; description?: string | undefined; label?: string | undefined; } | { required: boolean; step: number; type: "datetime"; name: string; defaultValue?: string | undefined; max?: string | undefined; min?: string | undefined; description?: string | undefined; label?: string | undefined; } | { type: "select"; options: { label: string; value: string; }[]; required: boolean; name: string; defaultValue?: string | undefined; placeholder?: string | undefined; description?: string | undefined; label?: string | undefined; } | { type: "radio"; options: { label: string; value: string; }[]; required: boolean; name: string; defaultValue?: string | undefined; placeholder?: string | undefined; description?: string | undefined; label?: string | undefined; } | { options: { label: string; value: string; }[]; required: boolean; type: "multi-select"; name: string; defaultValue?: string[] | undefined; placeholder?: string | undefined; description?: string | undefined; label?: string | undefined; } | { defaultValue: boolean; required: boolean; type: "checkbox"; name: string; description?: string | undefined; label?: string | undefined; } | { required: boolean; type: "file"; name: string; description?: string | undefined; label?: string | undefined; }>>>>; submitLabel: z.ZodMiniPrefault>; title: z.ZodMiniString; }, z.core.$strip>; export declare const dashboardRunTriggerDefinition: { readonly getDetails: ({ config }: import("..").TriggerPresentationContext) => { label: string; value: string; }[]; readonly icon: "automation"; readonly name: "Dashboard run"; readonly type: "dashboard.run"; }; export interface DashboardRunConfig { /** Supporting text shown below the form title. */ description?: string; /** Ordered fields. Omit to run immediately. */ fields?: TFields; /** Submit button text. Defaults to "Run". */ submitLabel?: string; /** Form heading. */ title: string; } export interface DashboardRunEndpointOptions { appOrigin: string; automationId: string; hookSlot: number; scopePath?: readonly number[]; } /** * Returns the organization-authenticated submission endpoint for one dashboard * run. * * @param options - Public origin and trigger identity. */ export declare function getDashboardRunEndpoint(options: DashboardRunEndpointOptions): string; /** * Returns the durable endpoint identity for one dashboard run trigger. * * @param options - Trigger and owning automation identity. */ export declare function getDashboardRunEndpointKey(options: Omit): string;