import { DeviceInstallLog, DeviceRelayTarget, RelayClient, StoredPairRecord } from './index'; export type DeviceInstallRelayBusyAction = 'usb' | 'pair' | 'install'; export type UseDeviceInstallRelayOptions = { apiUrl?: string; token?: string; log?: DeviceInstallLog; }; export type UseDeviceInstallRelayResult = { device?: DeviceRelayTarget; pairRecord?: StoredPairRecord; busyAction?: DeviceInstallRelayBusyAction; error?: string; pairConfirmationRequired: boolean; hasPairRecord: boolean; canPair: boolean; canInstall: boolean; requestUSBAccess: () => Promise; pairBrowser: () => Promise; startInstallation: () => Promise; stopRelay: () => void; clearError: () => void; }; export declare function useDeviceInstallRelay({ apiUrl, token, log, }: UseDeviceInstallRelayOptions): UseDeviceInstallRelayResult;