import { UploadProps as UnStyledUploadProps } from '@sheinx/base'; import { GetWithFieldProps } from '../hooks/use-field-common'; import type { UploadOptions as _UploadOptions } from '@sheinx/hooks'; export type BaseUploadProps = Omit, 'jssStyle'>; /** * @title Upload * @sort 0 */ export type UploadProps = GetWithFieldProps, BaseUploadProps['value']>; /** * @title UploadOptions * @sort 3 */ export type UploadOptions = _UploadOptions; /** * @title Validator * @sort 4 */ export type Validator = Exclude['validator'], undefined>;