export interface UseFileUploadWithProgressProps { acceptedFileTypes?: string; onUploadSuccess?: () => void; onUploadError?: (error: Error) => void; /** Names already taken, so a clash is stored with a numeric suffix rather than shadowing. */ existingNames?: string[]; } export interface UploadState { uploading: boolean; progress: number; } /** * The sidebar's add-file button, on the shared intake: one task store drives the toast, the * section's progress bar and the marker ring, so no surface tracks progress of its own. */ export declare function useFileUploadWithProgress({ acceptedFileTypes, onUploadSuccess, onUploadError, existingNames, }?: UseFileUploadWithProgressProps): { handleAddFile: () => void; handleFileUpload: (file: File) => Promise; uploadState: UploadState; }; //# sourceMappingURL=useFileUploadWithProgress.d.ts.map