import type { ErrorWithId, LedgerError, U2FError } from '../../types'; import { WalletsError } from '../../types'; export declare const isU2FError: (err: LedgerError) => err is U2FError; export declare const isErrorWithId: (err: LedgerError) => err is ErrorWithId; export declare const wrapLedgerError: (err: LedgerError) => never; export declare const standardizeLedgerErr: (err: LedgerError) => WalletsError; export declare const standardizeTrezorErr: (err: { error: string; code?: string; }) => WalletsError; export declare const wrapGridPlusError: (err: Error | string) => never; export declare const standardizeGridPlusErr: (err: Error | string) => WalletsError;