export default useMainProcess; declare function useMainProcess({ shouldStart, refVideo, cropArea, settings, onSessionTimeout, onCaptureDone, onAboutToTimeout, outputEncryptionSettings, }: { shouldStart: any; refVideo: any; cropArea: any; settings: any; onSessionTimeout: any; onCaptureDone: any; onAboutToTimeout: any; outputEncryptionSettings: any; }): { isProcessing: boolean; restartSession: () => Promise; refRecordedVideos: import("react").MutableRefObject<{ id: null; frames: never[]; }[]>; warmupDone: boolean; };