/** * @internal */ export declare const INTENTIONAL_ERROR: unique symbol; /** * When Conduit is in safe exceptions mode (the default), only exceptions thrown via raise() will be directly conveyed * to the caller. Otherwise the exceptions will be replaced with an RPCInternalError before being thrown. * @param error */ export declare function raise(error: T): never; export declare class RPCError extends Error { constructor(details: { name?: string; message: string; stack: string; }); readonly name: string; readonly message: string; readonly stack: string; } export declare class RPCInternalError extends Error { constructor(); }