Bunch of updates in preparation for publish
This commit is contained in:
24
build/camera.d.ts
generated
vendored
Normal file
24
build/camera.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
export type { Config, SupportedOps } from '../build/libapi.mjs';
|
||||
export declare function rethrowIfCritical(err: any): void;
|
||||
export declare class Camera {
|
||||
#private;
|
||||
static showPicker(): Promise<void>;
|
||||
connect(): Promise<void>;
|
||||
disconnect(): Promise<void>;
|
||||
getConfig(): Promise<{
|
||||
name: string;
|
||||
info: string;
|
||||
label: string;
|
||||
readonly: boolean;
|
||||
} & {
|
||||
type: "window";
|
||||
children: Record<string, import("../build/libapi.mjs").Config>;
|
||||
} & {
|
||||
type: "window";
|
||||
}>;
|
||||
getSupportedOps(): Promise<import("../build/libapi.mjs").SupportedOps>;
|
||||
setConfigValue(name: string, value: string | number | boolean): Promise<void>;
|
||||
capturePreviewAsBlob(): Promise<Blob>;
|
||||
captureImageAsFile(): Promise<File>;
|
||||
consumeEvents(): Promise<boolean>;
|
||||
}
|
||||
Reference in New Issue
Block a user