1 | import type { Assign } from "@ark-ui/react";
|
2 | import { FileUpload as ArkFileUpload } from "@ark-ui/react/file-upload";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useFileUploadStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useFileUploadStyles };
|
6 | export interface FileUploadRootProviderBaseProps extends Assign<ArkFileUpload.RootProviderBaseProps, SlotRecipeProps<"fileUpload">>, UnstyledProp {
|
7 | }
|
8 | export interface FileUploadRootProviderProps extends HTMLChakraProps<"div", FileUploadRootProviderBaseProps> {
|
9 | }
|
10 | export declare const FileUploadRootProvider: import("react").ForwardRefExoticComponent<FileUploadRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
|
11 | export interface FileUploadRootBaseProps extends Assign<ArkFileUpload.RootBaseProps, SlotRecipeProps<"fileUpload">>, UnstyledProp {
|
12 | }
|
13 | export interface FileUploadRootProps extends HTMLChakraProps<"div", FileUploadRootBaseProps> {
|
14 | }
|
15 | export declare const FileUploadRoot: import("react").ForwardRefExoticComponent<FileUploadRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
16 | export declare const FileUploadPropsProvider: React.Provider<FileUploadRootBaseProps>;
|
17 | export interface FileUploadClearTriggerProps extends HTMLChakraProps<"button"> {
|
18 | }
|
19 | export declare const FileUploadClearTrigger: import("react").ForwardRefExoticComponent<FileUploadClearTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
20 | export interface FileUploadDropzoneProps extends HTMLChakraProps<"li", ArkFileUpload.DropzoneBaseProps> {
|
21 | }
|
22 | export declare const FileUploadDropzone: import("react").ForwardRefExoticComponent<FileUploadDropzoneProps & import("react").RefAttributes<HTMLDivElement>>;
|
23 | export interface FileUploadDropzoneContentProps extends HTMLChakraProps<"div"> {
|
24 | }
|
25 | export declare const FileUploadDropzoneContent: import("react").ForwardRefExoticComponent<FileUploadDropzoneContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
26 | export interface FileUploadItemProps extends HTMLChakraProps<"li", ArkFileUpload.ItemBaseProps> {
|
27 | }
|
28 | export declare const FileUploadItem: import("react").ForwardRefExoticComponent<FileUploadItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
29 | export interface FileUploadItemContentProps extends HTMLChakraProps<"div"> {
|
30 | }
|
31 | export declare const FileUploadItemContent: import("react").ForwardRefExoticComponent<FileUploadItemContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
32 | export interface FileUploadItemDeleteTriggerProps extends HTMLChakraProps<"button", ArkFileUpload.ItemDeleteTriggerBaseProps> {
|
33 | }
|
34 | export declare const FileUploadItemDeleteTrigger: import("react").ForwardRefExoticComponent<FileUploadItemDeleteTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
35 | export interface FileUploadItemGroupProps extends HTMLChakraProps<"ul", ArkFileUpload.ItemGroupBaseProps> {
|
36 | }
|
37 | export declare const FileUploadItemGroup: import("react").ForwardRefExoticComponent<FileUploadItemGroupProps & import("react").RefAttributes<HTMLUListElement>>;
|
38 | export interface FileUploadItemNameProps extends HTMLChakraProps<"span", ArkFileUpload.ItemNameBaseProps> {
|
39 | }
|
40 | export declare const FileUploadItemName: import("react").ForwardRefExoticComponent<FileUploadItemNameProps & import("react").RefAttributes<HTMLSpanElement>>;
|
41 | export interface FileUploadItemPreviewProps extends HTMLChakraProps<"div", ArkFileUpload.ItemPreviewBaseProps> {
|
42 | }
|
43 | export declare const FileUploadItemPreview: import("react").ForwardRefExoticComponent<FileUploadItemPreviewProps & import("react").RefAttributes<HTMLDivElement>>;
|
44 | export interface FileUploadItemPreviewImageProps extends HTMLChakraProps<"img", ArkFileUpload.ItemPreviewImageBaseProps> {
|
45 | }
|
46 | export declare const FileUploadItemPreviewImage: import("react").ForwardRefExoticComponent<FileUploadItemPreviewImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
47 | export interface FileUploadItemSizeTextProps extends HTMLChakraProps<"span", ArkFileUpload.ItemSizeTextBaseProps> {
|
48 | }
|
49 | export declare const FileUploadItemSizeText: import("react").ForwardRefExoticComponent<FileUploadItemSizeTextProps & import("react").RefAttributes<HTMLSpanElement>>;
|
50 | export interface FileUploadLabelProps extends HTMLChakraProps<"label", ArkFileUpload.LabelBaseProps> {
|
51 | }
|
52 | export declare const FileUploadLabel: import("react").ForwardRefExoticComponent<FileUploadLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
|
53 | export interface FileUploadTriggerProps extends HTMLChakraProps<"button", ArkFileUpload.TriggerBaseProps> {
|
54 | }
|
55 | export declare const FileUploadTrigger: import("react").ForwardRefExoticComponent<FileUploadTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
56 | export declare const FileUploadContext: (props: ArkFileUpload.ContextProps) => import("react").ReactNode;
|
57 | export declare const FileUploadHiddenInput: import("react").ForwardRefExoticComponent<ArkFileUpload.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
58 | export interface FileUploadFileAcceptDetails extends ArkFileUpload.FileAcceptDetails {
|
59 | }
|
60 | export interface FileUploadFileRejectDetails extends ArkFileUpload.FileRejectDetails {
|
61 | }
|
62 | export interface FileUploadFileChangeDetails extends ArkFileUpload.FileChangeDetails {
|
63 | }
|