export type { Config, SupportedOps } from '../build/libapi.mjs'; export declare function rethrowIfCritical(err: any): void; export declare class Camera { #private; static showPicker(): Promise; connect(): Promise; disconnect(): Promise; getConfig(): Promise<{ name: string; info: string; label: string; readonly: boolean; } & { type: "window"; children: Record; } & { type: "window"; }>; getSupportedOps(): Promise; setConfigValue(name: string, value: string | number | boolean): Promise; capturePreviewAsBlob(): Promise; captureImageAsFile(): Promise; consumeEvents(): Promise; }