export type OmegaXErrorDetails = Record; export interface OmegaXErrorOptions { code: string; details?: OmegaXErrorDetails; cause?: unknown; } export declare class OmegaXError extends Error { readonly code: string; readonly details?: OmegaXErrorDetails; constructor(message: string, options: OmegaXErrorOptions); } export declare class OmegaXConfigError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXInvalidPublicKeyError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXProgramMismatchError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXAccountNotFoundError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXAccountOwnerMismatchError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXTokenAccountPreflightError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXInstructionBuildError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXTransactionDecodeError extends OmegaXError { constructor(message: string, options?: Omit); } export declare class OmegaXRpcError extends OmegaXError { constructor(message: string, options?: Omit); }