import { ErrorType } from '../types';
interface UseVideoUploadProps {
    onError: (error: ErrorType, videoIdFromUpload?: string | null, apiError?: unknown) => void;
    parentId?: string;
    parentType?: string;
}
export declare function useVideoUpload({ onError, parentId, parentType, }: UseVideoUploadProps): {
    uploadProgress: import('@layers-app/editor-core').UploadProgress;
    isUploading: boolean;
    isPaused: boolean;
    handleUpload: (file: import('file-selector').FileWithPath) => Promise<void>;
    handlePause: () => void;
    handleResume: () => Promise<void>;
    handleCancel: () => void;
    uploadVideoId: string | null;
};
export {};
//# sourceMappingURL=useVideoUpload.d.ts.map