/** * A cheap check, for `dkg status`, that an external store answers at all. * * The quad count is too expensive to run on every status request, so it is * reused for minutes, and a store that dies meanwhile would keep showing its * last count. `ASK { ?s ?p ?o }` returns at the first triple, so it can run on * every explicit request. * * The probe is never aborted. On a managed Oxigraph, abandoning a read that * was already sent hands it to the retained-deadline recovery, which restarts * the server at the read's deadline because Oxigraph keeps evaluating it; a * slow probe must not restart a busy, healthy store. A caller waits a bounded * time instead, and concurrent callers share the probe that is still running. */ import type { DKGAgent } from '@origintrail-official/dkg-agent'; import type { StoreReachability } from '../status-store-quads-wire.js'; /** * Whether the external store answers, waiting at most `waitMs` for it; a * probe that has not settled by then keeps running and later callers share * it. Never rejects. */ export declare function probeExternalStore(agent: DKGAgent, waitMs?: number): Promise; //# sourceMappingURL=store-reachability.d.ts.map