import { IDeviceConnection } from "../connection/model"; import { IConnectionConfig, IDevice } from "../device/model"; import { INetworkConfig } from "../discovery/model"; import { IInputOutput } from "./io"; /** * The PinAcceptingDevice delegates to another IDevice implementation * and, if a login error is encountered caused by a missing pincode, * will prompt for pincode input and retry login. * * This class is meant exclusively for use with the CLI; API clients * should almost certainly not use this. */ export declare class PinAcceptingDevice implements IDevice { private readonly io; private readonly delegate; constructor(io: IInputOutput, delegate: IDevice); discover(config?: INetworkConfig): Promise; wake(): Promise; openConnection(config?: IConnectionConfig): Promise; private tryResolveError; private registerWithPincode; }