// Import types Context and SupportedOps ./libapi.mjs.d.ts import type { Config, Context, SupportedOps } from './libapi.mjs.d.ts'; export declare class Camera { constructor(); static showPicker(): Promise; connect(): Promise; disconnect(): Promise; getConfig(): Promise; getSupportedOps(): SupportedOps; setConfigValue(name: string, value: number | string | boolean): Promise; capturePreviewAsBlob(): Promise; captureImageAsFile(): Promise; consumeEvents(): Promise; private rethrowIfCritical(err: any): void; // any error type can be replaced by more specific if available private schedule(op: (ctx: any) => Promise): Promise; // ctx and T types can be replaced by more specific if available } export type { Config, Context, SupportedOps };