/** * Thrown when a write-mode graph RPC cannot complete because the leader has * gone away (e.g. lockfile lost, socket closed, heartbeat timeout). The * caller is expected to surface this to the user — writes are not silently * retried across a failover because their effect on the DB is not known. */ export declare class LeaderLostError extends Error { readonly method: string; constructor(method: string, cause?: Error); } export declare function isTransportFailure(err: unknown): boolean; //# sourceMappingURL=errors.d.ts.map