import { z } from 'zod'; import { Literal, metaItemSchema } from '../ioSchema'; import { AnyDisplayIOPromise, ButtonItem, PageError, EventualValue } from '../types'; declare type EventualString = EventualValue; export interface BasicLayoutConfig { title?: EventualString; description?: EventualString; children?: AnyDisplayIOPromise[]; menuItems?: ButtonItem[]; } export interface Layout { title?: EventualString; description?: EventualString; children?: AnyDisplayIOPromise[]; menuItems?: ButtonItem[]; errors?: PageError[]; } export declare class BasicLayout implements Layout { title?: EventualString; description?: EventualString; children?: AnyDisplayIOPromise[]; menuItems?: ButtonItem[]; errors?: PageError[]; constructor(config: BasicLayoutConfig); } export declare type MetaItemSchema = z.infer; export declare type MetaItemValue = Literal | bigint; export interface MetaItem extends Omit { label: string; value: MetaItemValue | Promise | (() => MetaItemValue) | (() => Promise); error?: string; } export declare const META_ITEMS_SCHEMA: z.ZodObject<{ json: z.ZodArray, z.ZodBigInt]>>>>; url: z.ZodOptional; image: z.ZodOptional; size: z.ZodOptional>; width: z.ZodOptional>; height: z.ZodOptional>; url: z.ZodString; }, "strip", z.ZodTypeAny, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }>>; route: z.ZodOptional; action: z.ZodOptional; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; error: z.ZodNullable>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }>, "many">; meta: z.ZodAny; }, "strip", z.ZodTypeAny, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }>; export declare type MetaItemsSchema = z.infer; export declare const LAYOUT_ERROR_SCHEMA: z.ZodObject<{ layoutKey: z.ZodOptional; error: z.ZodString; message: z.ZodString; cause: z.ZodOptional; stack: z.ZodOptional; }, "strip", z.ZodTypeAny, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }>; export declare const BASIC_LAYOUT_SCHEMA: z.ZodObject<{ kind: z.ZodLiteral<"BASIC">; title: z.ZodNullable>; description: z.ZodNullable>; children: z.ZodNullable; isStateful: z.ZodDefault>; }, { isMultiple: z.ZodDefault>; isOptional: z.ZodDefault>; validationErrorMessage: z.ZodNullable>; multipleProps: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { defaultValue?: any[] | null | undefined; }, { defaultValue?: any[] | null | undefined; }>>>; }>, "strip", z.ZodTypeAny, { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }, { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }>, "many">; validationErrorMessage: z.ZodNullable>; choiceButtons: z.ZodNullable>; }, "strip", z.ZodTypeAny, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }>, "many">>>; continueButton: z.ZodOptional; theme: z.ZodOptional>; }, "strip", z.ZodTypeAny, { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; }, { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; }>>; kind: z.ZodLiteral<"RENDER">; }, "strip", z.ZodTypeAny, { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }[]; kind: "RENDER"; }, { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }[]; kind: "RENDER"; }>>>; metadata: z.ZodOptional, z.ZodBigInt]>>>>; url: z.ZodOptional; image: z.ZodOptional; size: z.ZodOptional>; width: z.ZodOptional>; height: z.ZodOptional>; url: z.ZodString; }, "strip", z.ZodTypeAny, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }>>; route: z.ZodOptional; action: z.ZodOptional; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; error: z.ZodNullable>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }>, "many">; meta: z.ZodAny; }, "strip", z.ZodTypeAny, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }>>; menuItems: z.ZodNullable>; }, "strip", z.ZodTypeAny, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; }, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; }>, z.ZodUnion<[z.ZodIntersection, z.ZodDate]>, z.ZodBigInt]>>>; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { params?: Record | undefined; disabled?: boolean | undefined; }, { params?: Record | undefined; disabled?: boolean | undefined; }>, z.ZodUnion<[z.ZodObject<{ route: z.ZodString; }, "strip", z.ZodTypeAny, { route: string; }, { route: string; }>, z.ZodObject<{ action: z.ZodString; }, "strip", z.ZodTypeAny, { action: string; }, { action: string; }>]>>, z.ZodObject<{ url: z.ZodString; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; url: string; }, { disabled?: boolean | undefined; url: string; }>, z.ZodObject<{ disabled: z.ZodLiteral; }, "strip", z.ZodTypeAny, { disabled: true; }, { disabled: true; }>]>>, "many">>>; errors: z.ZodNullable; error: z.ZodString; message: z.ZodString; cause: z.ZodOptional; stack: z.ZodOptional; }, "strip", z.ZodTypeAny, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { description?: string | null | undefined; title?: string | null | undefined; menuItems?: ({ theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; } & (({ params?: Record | undefined; disabled?: boolean | undefined; } & ({ route: string; } | { action: string; })) | { disabled?: boolean | undefined; url: string; } | { disabled: true; }))[] | null | undefined; children?: { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }[]; kind: "RENDER"; } | null | undefined; metadata?: { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; } | undefined; errors?: { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }[] | null | undefined; kind: "BASIC"; }, { description?: string | null | undefined; title?: string | null | undefined; menuItems?: ({ theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; } & (({ params?: Record | undefined; disabled?: boolean | undefined; } & ({ route: string; } | { action: string; })) | { disabled?: boolean | undefined; url: string; } | { disabled: true; }))[] | null | undefined; children?: { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }[]; kind: "RENDER"; } | null | undefined; metadata?: { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; } | undefined; errors?: { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }[] | null | undefined; kind: "BASIC"; }>; export declare const LAYOUT_SCHEMA: z.ZodObject<{ kind: z.ZodLiteral<"BASIC">; title: z.ZodNullable>; description: z.ZodNullable>; children: z.ZodNullable; isStateful: z.ZodDefault>; }, { isMultiple: z.ZodDefault>; isOptional: z.ZodDefault>; validationErrorMessage: z.ZodNullable>; multipleProps: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { defaultValue?: any[] | null | undefined; }, { defaultValue?: any[] | null | undefined; }>>>; }>, "strip", z.ZodTypeAny, { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }, { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }>, "many">; validationErrorMessage: z.ZodNullable>; choiceButtons: z.ZodNullable>; }, "strip", z.ZodTypeAny, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }>, "many">>>; continueButton: z.ZodOptional; theme: z.ZodOptional>; }, "strip", z.ZodTypeAny, { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; }, { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; }>>; kind: z.ZodLiteral<"RENDER">; }, "strip", z.ZodTypeAny, { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }[]; kind: "RENDER"; }, { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }[]; kind: "RENDER"; }>>>; metadata: z.ZodOptional, z.ZodBigInt]>>>>; url: z.ZodOptional; image: z.ZodOptional; size: z.ZodOptional>; width: z.ZodOptional>; height: z.ZodOptional>; url: z.ZodString; }, "strip", z.ZodTypeAny, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }, { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; }>>; route: z.ZodOptional; action: z.ZodOptional; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; error: z.ZodNullable>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }, { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }>, "many">; meta: z.ZodAny; }, "strip", z.ZodTypeAny, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }, { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; }>>; menuItems: z.ZodNullable>; }, "strip", z.ZodTypeAny, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; }, { theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; }>, z.ZodUnion<[z.ZodIntersection, z.ZodDate]>, z.ZodBigInt]>>>; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { params?: Record | undefined; disabled?: boolean | undefined; }, { params?: Record | undefined; disabled?: boolean | undefined; }>, z.ZodUnion<[z.ZodObject<{ route: z.ZodString; }, "strip", z.ZodTypeAny, { route: string; }, { route: string; }>, z.ZodObject<{ action: z.ZodString; }, "strip", z.ZodTypeAny, { action: string; }, { action: string; }>]>>, z.ZodObject<{ url: z.ZodString; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; url: string; }, { disabled?: boolean | undefined; url: string; }>, z.ZodObject<{ disabled: z.ZodLiteral; }, "strip", z.ZodTypeAny, { disabled: true; }, { disabled: true; }>]>>, "many">>>; errors: z.ZodNullable; error: z.ZodString; message: z.ZodString; cause: z.ZodOptional; stack: z.ZodOptional; }, "strip", z.ZodTypeAny, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }, { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }>, "many">>>; }, "strip", z.ZodTypeAny, { description?: string | null | undefined; title?: string | null | undefined; menuItems?: ({ theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; } & (({ params?: Record | undefined; disabled?: boolean | undefined; } & ({ route: string; } | { action: string; })) | { disabled?: boolean | undefined; url: string; } | { disabled: true; }))[] | null | undefined; children?: { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; isStateful: boolean; isMultiple: boolean; isOptional: boolean; }[]; kind: "RENDER"; } | null | undefined; metadata?: { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; } | undefined; errors?: { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }[] | null | undefined; kind: "BASIC"; }, { description?: string | null | undefined; title?: string | null | undefined; menuItems?: ({ theme?: "default" | "primary" | "secondary" | "danger" | undefined; label: string; } & (({ params?: Record | undefined; disabled?: boolean | undefined; } & ({ route: string; } | { action: string; })) | { disabled?: boolean | undefined; url: string; } | { disabled: true; }))[] | null | undefined; children?: { validationErrorMessage?: string | null | undefined; choiceButtons?: { theme?: "default" | "primary" | "secondary" | "danger" | undefined; value: string; label: string; }[] | null | undefined; continueButton?: { label?: string | undefined; theme?: "default" | "primary" | "secondary" | "danger" | undefined; } | undefined; id: string; inputGroupKey: string; toRender: { props?: any; propsMeta?: any; isStateful?: boolean | undefined; isMultiple?: boolean | undefined; isOptional?: boolean | undefined; validationErrorMessage?: string | null | undefined; multipleProps?: { defaultValue?: any[] | null | undefined; } | null | undefined; methodName: string; label: string; }[]; kind: "RENDER"; } | null | undefined; metadata?: { meta?: any; json: { params?: Record | undefined; value?: string | number | bigint | boolean | Date | null | undefined; error?: string | null | undefined; url?: string | undefined; image?: { alt?: string | undefined; size?: "thumbnail" | "small" | "medium" | "large" | undefined; width?: "thumbnail" | "small" | "medium" | "large" | undefined; height?: "thumbnail" | "small" | "medium" | "large" | undefined; url: string; } | undefined; action?: string | undefined; route?: string | undefined; label: string; }[]; } | undefined; errors?: { cause?: string | undefined; layoutKey?: string | undefined; stack?: string | undefined; message: string; error: string; }[] | null | undefined; kind: "BASIC"; }>; export declare type LayoutSchema = z.infer; export declare type LayoutSchemaInput = z.input; export declare type BasicLayoutSchema = z.infer; export declare type BasicLayoutSchemaInput = z.input; export declare type LayoutError = z.infer; export { metaItemSchema as META_ITEM_SCHEMA };