/** * Error handling utilities for the IoTeX SDK */ export declare class IoTeXError extends Error { code: string; details?: any | undefined; constructor(code: string, message: string, details?: any | undefined); } /** * Map gRPC status codes to user-friendly errors */ export declare function handleGrpcError(error: any): IoTeXError; /** * Throw error if condition is not met */ export declare function assert(condition: boolean, message: string, code?: string): asserts condition; /** * Validate that a value is not null or undefined */ export declare function assertExists(value: T | null | undefined, message: string): asserts value is T; //# sourceMappingURL=errors.d.ts.map