import { Domain } from '../domain/domain'; /** * **A numbered series** - one row per (domain, key): the last number handed out. `takeSequence` raises it under the row's * lock inside the caller's transaction, so two writers never get the same number and a rolled-back write gives its number * back (2026-11-19, operato-yard design ยง0 R4). * * Not a GraphQL type: nobody edits a counter by hand - a counter set back hands out names already in use. */ export declare class SequenceCounter { readonly id: string; domain: Domain; domainId?: string; /** What is numbered - `daily:WO:20261119`, `id-rule:`. */ key: string; /** The last number handed out. 0 is "none yet". */ last: number; updatedAt?: Date; }