/** Base class for all Lucidly SDK errors. */ export declare class LucidlyError extends Error { constructor(message: string); } /** * Thrown by strategy verbs when the requested (target, selector, args) tuple is not a leaf * in the vault's current Merkle root. Surface this to the user as "enable first" — * never as a generic failure. This guard is the safety property behind single-prompt strategies. */ export declare class LeafNotInRootError extends LucidlyError { readonly protocol: string; readonly target: string; readonly selector: string; constructor(args: { protocol: string; target: string; selector: string; }); } /** Thrown when a signer is required for a write but the client is read-only. */ export declare class MissingSignerError extends LucidlyError { constructor(op: string); } /** Thrown when a token symbol cannot be resolved on the active chain. */ export declare class UnknownTokenError extends LucidlyError { constructor(symbol: string, chain: string); } /** Thrown when no active vault is set but an operation needs one. */ export declare class NoActiveVaultError extends LucidlyError { constructor(op: string); } /** Thrown when a protocol/decoder isn't available on the active chain. */ export declare class IntegrationUnavailableError extends LucidlyError { constructor(protocol: string, chain: string); } /** Thrown when a deploy preflight finds blocking errors (pass allowUnsafe to override). */ export declare class SafetyError extends LucidlyError { readonly errors: { code: string; message: string; }[]; constructor(errors: { code: string; message: string; }[]); } /** Thrown when a value-moving strategy call is missing a slippage guard on mainnet. */ export declare class MissingSlippageGuardError extends LucidlyError { constructor(op: string); }