import { ReactPortal } from 'react'; export declare enum ConflictAction { KeepBoth = "keep-both", Replace = "replace", Cancel = "cancel" } export declare type ConflictChoice = { action: ConflictAction; newName?: string; }; export declare function useUploadConflictDialog(): [ (args: { originalName: string; existingNames: Set | string[]; isTrashedExisting?: boolean; }) => Promise, ReactPortal | null ];