import { z } from 'zod'; import { Yoco } from '@3yourmind/yoco'; export declare namespace KottiFileUpload { enum Validation { INVALID_EXTENSION = "INVALID_EXTENSION", MAX_SIZE_EXCEEDED = "MAX_SIZE_EXCEEDED", SUCCESS = "SUCCESS" } const validationSchema: z.ZodNativeEnum; enum Status { CANCELED = "CANCELED", ERROR = "ERROR", INVALID = "INVALID", NOT_STARTED = "NOT_STARTED", UPLOADED = "UPLOADED", UPLOADED_WITH_ERROR = "UPLOADED_WITH_ERROR", UPLOADING = "UPLOADING" } const statusSchema: z.ZodUnion<[z.ZodEffects, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>; const idSchema: z.ZodUnion<[z.ZodNumber, z.ZodString]>; const fileInfoSchema: z.ZodObject<{ downloadUrl: z.ZodOptional; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>; type FileInfo = z.output; const selectedFileSchema: z.ZodObject<{ file: z.ZodType; id: z.ZodString; }, "strip", z.ZodTypeAny, { file: File; id: string; }, { file: File; id: string; }>; const interceptedFileSchema: z.ZodObject<{ file: z.ZodType; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; status: z.ZodUnion<[z.ZodEffects, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>; validation: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { file: File; validation: Validation; status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); id: string | number; }, { file: File; validation: Validation; status: ("INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & ("INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); id: string | number; }>; type InterceptedFile = z.input; const preUploadedFileSchema: z.ZodObject<{ downloadUrl: z.ZodOptional; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; size: z.ZodNumber; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; size: number; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; viewUrl?: string | undefined; }, { name: string; size: number; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; viewUrl?: string | undefined; }>; const uploadPropsSchema: z.ZodObject<{ allowMultiple: z.ZodDefault; allowPhotos: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; icon: z.ZodDefault, z.ZodNativeEnum]>>; maxFileSize: z.ZodDefault; state: z.ZodArray; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { icon: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon; allowMultiple: boolean; allowPhotos: boolean; collapseExtensionsAfter: number; extensions: string[]; externalUrl: string | null; hideDropArea: boolean; maxFileSize: number; state: { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }[]; }, { state: { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }[]; allowMultiple?: boolean | undefined; allowPhotos?: boolean | undefined; collapseExtensionsAfter?: number | undefined; extensions?: string[] | undefined; externalUrl?: string | null | undefined; hideDropArea?: boolean | undefined; icon?: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon | undefined; maxFileSize?: number | undefined; }>; const propsSchema: z.ZodObject<{ dataTest: z.ZodDefault>; label: z.ZodDefault>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; helpText: z.ZodDefault>; tabIndex: z.ZodDefault; helpDescription: z.ZodDefault>; allowMultiple: z.ZodDefault; allowPhotos: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; icon: z.ZodDefault, z.ZodNativeEnum]>>; maxFileSize: z.ZodDefault; state: z.ZodArray; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { dataTest: string | null; icon: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon; label: string | null; isDisabled: boolean; isLoading: boolean; helpText: string | null; tabIndex: number; helpDescription: string | null; allowMultiple: boolean; allowPhotos: boolean; collapseExtensionsAfter: number; extensions: string[]; externalUrl: string | null; hideDropArea: boolean; maxFileSize: number; state: { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }[]; }, { state: { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }[]; dataTest?: string | null | undefined; label?: string | null | undefined; isDisabled?: boolean | undefined; isLoading?: boolean | undefined; helpText?: string | null | undefined; tabIndex?: number | undefined; helpDescription?: string | null | undefined; allowMultiple?: boolean | undefined; allowPhotos?: boolean | undefined; collapseExtensionsAfter?: number | undefined; extensions?: string[] | undefined; externalUrl?: string | null | undefined; hideDropArea?: boolean | undefined; icon?: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon | undefined; maxFileSize?: number | undefined; }>; namespace Events { type AddFiles = Array<{ file: File; fileInfo: FileInfo; }>; type CancelUpload = z.infer; type RemoveFile = z.infer; type RestartUpload = z.infer; } namespace ActionButton { const schema: z.ZodObject<{ isDisabled: z.ZodDefault; icon: z.ZodUnion<[z.ZodEnum<["address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip", ...("address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip")[]]>, z.ZodNativeEnum]>; }, "strip", z.ZodTypeAny, { icon: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon; isDisabled: boolean; }, { icon: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon; isDisabled?: boolean | undefined; }>; type Props = z.input; type PropsInternal = z.output; } namespace DropArea { const schema: z.ZodObject<{ dataTest: z.ZodDefault>; icon: z.ZodDefault, z.ZodNativeEnum]>>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; tabIndex: z.ZodDefault; allowMultiple: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; maxFileSize: z.ZodDefault; inputId: z.ZodString; }, "strip", z.ZodTypeAny, { dataTest: string | null; icon: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon; isDisabled: boolean; isLoading: boolean; tabIndex: number; inputId: string; allowMultiple: boolean; collapseExtensionsAfter: number; extensions: string[]; externalUrl: string | null; hideDropArea: boolean; maxFileSize: number; }, { inputId: string; dataTest?: string | null | undefined; icon?: "address_book" | "announce" | "arrow_down" | "arrow_line" | "arrow_right" | "arrow_up" | "arrow_up_down" | "assembly" | "attachment" | "attention" | "basket" | "bell" | "bookmark" | "bookmark_solid" | "box_3d" | "burger" | "cad" | "calendar" | "calendar_clock" | "camera" | "camera_switch" | "card" | "catalog" | "charts" | "check" | "chevron_down" | "chevron_down_double" | "chevron_left" | "chevron_left_double" | "chevron_right" | "chevron_right_double" | "chevron_up" | "chevron_up_double" | "circle_attention" | "circle_check" | "circle_cross" | "circle_i" | "circle_load" | "circle_minus" | "circle_question" | "circle_search" | "clock" | "close" | "cloud" | "cloud_download" | "cloud_upload" | "column_fixleft" | "column_fixright" | "column_hide" | "comment" | "copy" | "csv" | "dashboard" | "dimension" | "doc" | "dots" | "dots_vertical" | "download" | "edit" | "email" | "exit" | "exit_fullscreen" | "eye" | "eye_slashed" | "file" | "filled_circle_check" | "filled_circle_cross" | "filled_circle_minus" | "filled_triangle_attention" | "filter" | "fix_right" | "flag" | "folder" | "fullscreen" | "gant_chart" | "global" | "heart" | "heart_solid" | "hide_menu" | "home" | "idea" | "invoice" | "json" | "kanban" | "landline" | "layer" | "lightning_bolt" | "link" | "linked" | "list" | "location" | "logout" | "markup" | "material" | "minus" | "mobile" | "not_allow" | "not_applicable" | "notes" | "office" | "order" | "outlink" | "pdf" | "permission_locked" | "permission_unlocked" | "picture" | "plus" | "print" | "printer" | "qr_code" | "quote" | "reload" | "report_chart" | "request" | "save" | "scale" | "search" | "send" | "setting" | "share" | "shipping" | "shop" | "sidebar" | "sort_ascend" | "sort_descend" | "square_solid" | "star" | "star_solid" | "structure" | "support" | "switch" | "tag" | "tech" | "thumb_down" | "thumb_up" | "tile_layout" | "trash" | "triangle_down" | "triangle_left" | "triangle_right" | "triangle_switch" | "triangle_up" | "upload" | "user" | "user_solid" | "usergroup" | "version" | "view" | "view_sidebar" | "zip" | Yoco.Icon | undefined; isDisabled?: boolean | undefined; isLoading?: boolean | undefined; tabIndex?: number | undefined; allowMultiple?: boolean | undefined; collapseExtensionsAfter?: number | undefined; extensions?: string[] | undefined; externalUrl?: string | null | undefined; hideDropArea?: boolean | undefined; maxFileSize?: number | undefined; }>; type Props = z.input; type PropsInternal = z.output; } namespace FileItem { const schema: z.ZodObject>; label: z.ZodDefault>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; helpText: z.ZodDefault>; tabIndex: z.ZodDefault; helpDescription: z.ZodDefault>; allowMultiple: z.ZodDefault; allowPhotos: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; icon: z.ZodDefault, z.ZodNativeEnum]>>; maxFileSize: z.ZodDefault; state: z.ZodArray; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>, "many">; }, "dataTest" | "isDisabled" | "extensions" | "maxFileSize">, "strip", z.ZodTypeAny, { dataTest: string | null; isDisabled: boolean; extensions: string[]; maxFileSize: number; }, { dataTest?: string | null | undefined; isDisabled?: boolean | undefined; extensions?: string[] | undefined; maxFileSize?: number | undefined; }>; } namespace TakePhoto { const schema: z.ZodObject>; label: z.ZodDefault>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; helpText: z.ZodDefault>; tabIndex: z.ZodDefault; helpDescription: z.ZodDefault>; allowMultiple: z.ZodDefault; allowPhotos: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; icon: z.ZodDefault, z.ZodNativeEnum]>>; maxFileSize: z.ZodDefault; state: z.ZodArray; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>, "many">; }, "dataTest" | "isDisabled" | "tabIndex">, "strip", z.ZodTypeAny, { dataTest: string | null; isDisabled: boolean; tabIndex: number; }, { dataTest?: string | null | undefined; isDisabled?: boolean | undefined; tabIndex?: number | undefined; }>; type Props = z.input; type PropsInternal = z.output; const captureSchema: z.ZodObject>; label: z.ZodDefault>; isDisabled: z.ZodDefault; isLoading: z.ZodDefault; helpText: z.ZodDefault>; tabIndex: z.ZodDefault; helpDescription: z.ZodDefault>; allowMultiple: z.ZodDefault; allowPhotos: z.ZodDefault; collapseExtensionsAfter: z.ZodDefault; extensions: z.ZodDefault>; externalUrl: z.ZodDefault>; hideDropArea: z.ZodDefault; icon: z.ZodDefault, z.ZodNativeEnum]>>; maxFileSize: z.ZodDefault; state: z.ZodArray; id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; isInternal: z.ZodOptional; name: z.ZodString; progress: z.ZodOptional>; size: z.ZodOptional; status: z.ZodDefault, z.ZodNativeEnum]>, Status, "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status>, z.ZodObject<{ label: z.ZodString; showProgress: z.ZodOptional; type: z.ZodEnum<["error", "loading"]>; }, "strip", z.ZodTypeAny, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }, { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }>]>>; validation: z.ZodOptional>; viewUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; }) & (Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined); name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }, { name: string; id: string | number; downloadUrl?: string | undefined; isInternal?: boolean | undefined; progress?: number | undefined; size?: number | undefined; status?: "INVALID" | "NOT_STARTED" | "UPLOADED" | "UPLOADED_WITH_ERROR" | "ERROR" | "CANCELED" | "UPLOADING" | Status | { type: "error" | "loading"; label: string; showProgress?: boolean | undefined; } | undefined; validation?: Validation | undefined; viewUrl?: string | undefined; }>, "many">; }, "dataTest" | "isDisabled" | "tabIndex">, "dataTest">, "strip", z.ZodTypeAny, { dataTest: string | null; }, { dataTest?: string | null | undefined; }>; type CaptureProps = z.output; const reviewSchema: z.ZodObject<{ dataTest: z.ZodDefault>; photoUrl: z.ZodDefault>; }, "strip", z.ZodTypeAny, { dataTest: string | null; photoUrl: string | null; }, { dataTest?: string | null | undefined; photoUrl?: string | null | undefined; }>; type ReviewProps = z.output; const errorSchema: z.ZodObject<{ dataTest: z.ZodDefault>; error: z.ZodDefault>; }, "strip", z.ZodTypeAny, { dataTest: string | null; error: string | null; }, { dataTest?: string | null | undefined; error?: string | null | undefined; }>; type ErrorProps = z.output; namespace Events { type Capture = { file: File; photoUrl: string; }; type Error = string; } } type Translations = { button: { acceptPhoto: string; cancel: string; nextCamera: string; rejectPhoto: string; retry: string; takePhoto: string; }; error: { multipleNotAllowed: string; notAllowed: string; notFound: string; notSupported: string; }; label: { capture: string; error: string; internal: string; review: string; unknown: string; }; statusMsg: { CANCELED: string; ERROR: string; HIDDEN: string; INVALID: string; NOT_STARTED: string; READY_TO_UPLOAD: string; UPLOADED: string; UPLOADED_WITH_ERROR: string; UPLOADING: string; }; text: { clickToUpload: string; dragAndDrop: string; learnMore: string; max: string; }; validationMsg: { INVALID_EXTENSION: string; MAX_SIZE_EXCEEDED: string; }; }; type Props = z.input; type PropsInternal = z.output; }