/** 通用上传流程配置。 */
interface UseUploadDialogFlowOptions {
    isUploading: boolean;
}
/** 通用上传流程返回。 */
interface UseUploadDialogFlowResult {
    isDragOver: boolean;
    isInteractionLocked: boolean;
    resetFlowStates: () => void;
    handleDragOver: (e: React.DragEvent) => void;
    handleDragLeave: (e: React.DragEvent) => void;
    handleDrop: (e: React.DragEvent, onFileDrop: (file: File) => void) => void;
    handleConfirmKeyDown: (e: React.KeyboardEvent, handlers: {
        onConfirm: () => void;
        onCancel: () => void;
    }) => void;
}
/** 上传弹窗通用交互流程：拖拽、键盘、锁定态。 */
export declare function useUploadDialogFlow({ isUploading, }: UseUploadDialogFlowOptions): UseUploadDialogFlowResult;
export {};
