import React from "react"; export interface UploadedFile { file: File; id: string; progress: number; status: "uploading" | "completed" | "error"; url?: string; error?: string; } export interface GlassFileUploadProps extends Omit, "onChange"> { /** * Accepted file types (e.g., '.jpg,.png,.pdf' or 'image/*') */ accept?: string; /** * Maximum file size in bytes */ maxSize?: number; /** * Maximum number of files */ maxFiles?: number; /** * Whether to allow multiple file selection */ multiple?: boolean; /** * Upload handler function */ onUpload?: (files: File[]) => Promise; /** * File change handler */ onChange?: (files: UploadedFile[]) => void; /** * Disabled state */ disabled?: boolean; /** * Custom upload text */ uploadText?: string; /** * Custom browse text */ browseText?: string; /** * Show file preview */ showPreview?: boolean; /** * Custom validation function */ validator?: (file: File) => string | null; /** * Upload URL endpoint */ uploadUrl?: string; } export declare const GlassFileUpload: React.FC; //# sourceMappingURL=GlassFileUpload.d.ts.map