import type { ChainNamespace } from "./types"; export declare class InvalidMnemonicError extends Error { constructor(); } /** * Thrown when a BYOK-mode operation requires a mnemonic but none was * supplied (or the supplied value is empty after normalization). Distinct * from {@link InvalidMnemonicError} so callers can prompt the user to * provide one versus reporting a bad value. */ export declare class MissingMnemonicError extends Error { constructor(); } export declare class UnsupportedNamespaceError extends Error { constructor(namespace: ChainNamespace); } /** * Thrown when a wallet selected by the caller belongs to a different * namespace than the chain client being constructed (e.g. selecting a * Solana wallet but asking for an EVM client). Distinct from * {@link UnsupportedNamespaceError}, which is for namespaces with no * registered adapter at all. */ export declare class WrongNamespaceError extends Error { readonly expected: ChainNamespace; readonly actual: ChainNamespace; constructor(expected: ChainNamespace, actual: ChainNamespace); } /** * Thrown when a wallet lookup by id, address, or name fails. Carries the * ref structure for diagnostics. Lifted into the SDK's public surface so * the CLI can map missing-wallet conditions to a typed user error without * string-matching. */ export declare class NoSuchWalletError extends Error { readonly ref: { id?: string; address?: string; name?: string; }; constructor(ref: { id?: string; address?: string; name?: string; }); } export declare class ByokWalletMetadataError extends Error { constructor(message: string); } /** * Thrown when an EVM BYOK operation requires the concrete * {@link EvmByokAdapter} signing surface (e.g. `signPersonalMessageLocal`) * but the registered adapter — typically from a * custom adapter factory — does not implement it. Replaces the opaque * "x is not a function" runtime failure with an actionable error. */ export declare class IncompatibleAdapterError extends Error { constructor(method: string); }