export interface InitVideoParams { aspectRatio: number; preferredResolution: number; deviceId: string; facingMode: string | undefined; } interface CameraElement { element: HTMLVideoElement; initCamera: () => Promise; dispose: () => void; checkIfIsInitialized: () => boolean; switchCamera: () => Promise; } export default function camera(params: InitVideoParams): CameraElement; export {};