import { type ReworkCaps } from './rework.js'; import type { DocState } from './state.js'; import type { StoreGuard } from './store-types.js'; export declare const REWORK_EXHAUSTED = "REWORK_EXHAUSTED"; export interface ReworkGuardOptions { state(): DocState; caps(): ReworkCaps; /** The role that decides a spent thread. */ root: string | undefined; } export declare function reworkGuard(o: ReworkGuardOptions): StoreGuard; //# sourceMappingURL=rework-guard.d.ts.map