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; open(): Promise; close(): Promise; direction(dir: boolean): Promise; }