import { SafekeyDeviceInfo } from '../../../../safekey/application/safekey-device-use-case';
export type SafekeyDeviceState = 'CONNECT_DEVICE' | 'TOUCH_DEVICE_BUTTON' | 'ERROR' | 'SUCCESS';
export default function useSafekeyDevice(): {
    connect: (pin: string) => Promise<void>;
    disconnect: () => Promise<void>;
    disconnecting: boolean;
    state: SafekeyDeviceState;
    error: string | undefined;
    loginAttempts: {
        count: number;
        total: number;
    };
    pinValidationTimeout: number | undefined;
    device: SafekeyDeviceInfo | undefined;
};
