/** * Lightweight, dependency-free helpers for the WS subsystem. * * These exist as a separate module (rather than importing from * `src/classes/utils.ts`) so the WS subsystem doesn't pull in heavy * transitive deps (axios, decimal.js, token program) at module load. */ /** No-op callback — useful as a default for optional handlers. */ export declare const noop: () => void; /** * JSON.stringify with bigint support. Used to build stable, comparable * keys for filter sets that may contain bigint slot offsets etc. */ export declare function toJson(object: unknown, inline?: boolean): string; /** * Convert a Uint8Array (possibly a subarray) to a Node Buffer for borsh * decode. Listeners call this on the small `data` blob returned by WS * notifications before handing it to `*.decode()`. */ export declare function toBuffer(data: Uint8Array): Buffer; /** Element-wise equality of two byte arrays (no allocation). */ export declare function blobEquals(left: Uint8Array, right: Uint8Array): boolean; //# sourceMappingURL=utils.d.ts.map