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