import { z } from 'zod'; import { KottiField } from '../kotti-field/types'; export declare namespace KottiFieldInlineEdit { const modelValueSchema: z.ZodNullable; type ModelValue = z.output; enum ConfirmationValidation { ERROR = "error", NEVER = "never", WARNING = "warning" } enum TextStyle { HEADER_ONE = "h1", HEADER_THREE = "h3", HEADER_TWO = "h2" } const propsSchema: z.ZodObject<{ dataTest: z.ZodDefault>; label: z.ZodDefault>; size: z.ZodDefault, z.ZodNativeEnum]>>>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; helpText: z.ZodDefault>; tabIndex: z.ZodDefault; hideClear: z.ZodNever; hideValidation: z.ZodDefault; showVisibilityToggle: z.ZodDefault; isBorderless: z.ZodNever; inputId: z.ZodDefault>; formKey: z.ZodDefault]>>>; helpDescription: z.ZodDefault>; leftIcon: z.ZodNever; isOptional: z.ZodDefault; rightIcon: z.ZodNever; prefix: z.ZodNever; suffix: z.ZodNever; validator: z.ZodDefault, z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"empty">; }, "strip", z.ZodTypeAny, { type: "empty"; }, { type: "empty"; }>, z.ZodObject<{ text: z.ZodNullable; type: z.ZodLiteral<"error">; }, "strip", z.ZodTypeAny, { type: "error"; text: string | null; }, { type: "error"; text: string | null; }>, z.ZodObject<{ text: z.ZodNullable; type: z.ZodLiteral<"success">; }, "strip", z.ZodTypeAny, { type: "success"; text: string | null; }, { type: "success"; text: string | null; }>, z.ZodObject<{ text: z.ZodNullable; type: z.ZodLiteral<"warning">; }, "strip", z.ZodTypeAny, { type: "warning"; text: string | null; }, { type: "warning"; text: string | null; }>]>>>; autoComplete: z.ZodDefault, z.ZodLiteral, z.ZodString]>>; isMultiline: z.ZodDefault; isReadonly: z.ZodDefault; modelValue: z.ZodDefault>; placeholder: z.ZodDefault>; preventConfirmationOn: z.ZodDefault, z.ZodNativeEnum]>>; textStyle: z.ZodDefault, z.ZodNativeEnum]>>>; }, "strip", z.ZodTypeAny, { dataTest: string | null; label: string | null; size: "large" | "medium" | "small" | KottiField.Size | null; isDisabled: boolean; isLoading: boolean; helpText: string | null; isMultiline: boolean; tabIndex: number; modelValue: string | null; placeholder: string | null; hideClear: never; hideValidation: boolean; showVisibilityToggle: boolean; isBorderless: never; inputId: string | null; formKey: string | null; helpDescription: string | null; leftIcon: never; isOptional: boolean; rightIcon: never; prefix: never; suffix: never; validator: (args_0: any, ...args: unknown[]) => { type: "empty"; } | { type: "error"; text: string | null; } | { type: "success"; text: string | null; } | { type: "warning"; text: string | null; }; autoComplete: string; isReadonly: boolean; preventConfirmationOn: "error" | "never" | "warning" | ConfirmationValidation; textStyle: "h1" | "h3" | "h2" | TextStyle | null; }, { hideClear: never; isBorderless: never; leftIcon: never; rightIcon: never; prefix: never; suffix: never; dataTest?: string | null | undefined; label?: string | null | undefined; size?: "large" | "medium" | "small" | KottiField.Size | null | undefined; isDisabled?: boolean | undefined; isLoading?: boolean | undefined; helpText?: string | null | undefined; tabIndex?: number | undefined; hideValidation?: boolean | undefined; showVisibilityToggle?: boolean | undefined; inputId?: string | null | undefined; formKey?: string | null | undefined; helpDescription?: string | null | undefined; isOptional?: boolean | undefined; validator?: ((args_0: any, ...args: unknown[]) => { type: "empty"; } | { type: "error"; text: string | null; } | { type: "success"; text: string | null; } | { type: "warning"; text: string | null; }) | undefined; autoComplete?: string | undefined; isMultiline?: boolean | undefined; isReadonly?: boolean | undefined; modelValue?: string | null | undefined; placeholder?: string | null | undefined; preventConfirmationOn?: "error" | "never" | "warning" | ConfirmationValidation | undefined; textStyle?: "h1" | "h3" | "h2" | TextStyle | null | undefined; }>; type Props = z.input; type PropsInternal = z.output; namespace Events { type Confirm = KottiFieldInlineEdit.ModelValue; } type Translations = { placeholder: string; }; } export type FieldInlineEditElement = HTMLInputElement | HTMLTextAreaElement;