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