26 lines
559 B
TypeScript
26 lines
559 B
TypeScript
export declare class Camera {
|
|
private log;
|
|
private parser;
|
|
private ready;
|
|
private connected;
|
|
private serial;
|
|
private baud;
|
|
private next;
|
|
private port;
|
|
private prefix;
|
|
private mock;
|
|
constructor(mock: boolean);
|
|
private begin;
|
|
private filter;
|
|
private enumerate;
|
|
private connect;
|
|
private connectMock;
|
|
private onData;
|
|
private verify;
|
|
private confirm;
|
|
frame(): Promise<number>;
|
|
open(): Promise<number>;
|
|
close(): Promise<number>;
|
|
direction(dir: boolean): Promise<number>;
|
|
}
|