import type { DocumentsRuntime } from './runtime.js'; export interface AwaitHead { doc: string; type: string; version: number; status: 'pending' | 'accepted' | 'rejected' | 'superseded'; /** Roles that decided this version (the `by` of its decisions). */ decided: string[]; /** Roles that read this version. */ read: string[]; } export interface AwaitFacts { types: { type: string; deciders: string[]; }[]; /** The head version of every document that exists. */ heads: AwaitHead[]; } export declare function awaitingDocuments(role: string, f: AwaitFacts): boolean; /** The facts of one run's documents, from the store and the notice engine's record of who read what. */ export declare function awaitFacts(docs: DocumentsRuntime): AwaitFacts; //# sourceMappingURL=awaiting.d.ts.map