export declare const TEAM_NOTICE_LEDGER_MARKER_PREFIX = "[omx:team-notice-ledger:"; export declare const TEAM_NOTICE_CLASSES: readonly ['mailbox', 'all_idle', 'worker_idle', 'leader_stale', 'worker_stop', 'terminal']; export type TeamNoticeClass = typeof TEAM_NOTICE_CLASSES[number]; export type TeamNoticeGeneration = string | number; export interface TeamNoticeRegistration { stateRoot?: string; cwd?: string; targetId: string; teamName: string; noticeClass: TeamNoticeClass; generation: TeamNoticeGeneration; source: { kind: string; detail?: string; }; } export interface TeamNoticeRegistrationResult { generation: string; queued: boolean; prompt: string | null; targetKey: string; wakeId: string | null; } export interface TeamNoticeContext { targetKey: string; teamName: string; noticeClass: TeamNoticeClass; generation: string; source: { kind: string; detail?: string; }; } export interface ReconcileTeamNoticeOptions { stateRoot?: string; cwd?: string; targetKey: string; beforePresent?: (context: readonly TeamNoticeContext[]) => Promise | void; } export interface ReconcileTeamNoticeResult { context: TeamNoticeContext[]; presented: number; discarded: number; } export declare function teamNoticeLedgerPath(stateRoot: string): string; export declare function teamNoticeLedgerLockPath(stateRoot: string): string; export declare function teamNoticeTargetKey(targetId: string): string; export declare function buildTeamNoticeLedgerPrompt(targetKey: string): string; export declare function parseTeamNoticeLedgerPrompt(value: unknown): string | null; export declare function isTeamNoticeLedgerPrompt(value: unknown): boolean; export declare function registerTeamNotice(registration: TeamNoticeRegistration): Promise; export declare function releaseTeamNoticeWake(stateRoot: string, targetKey: string, wakeId: string): Promise; export declare function reconcileTeamNoticeLedger(options: ReconcileTeamNoticeOptions): Promise; //# sourceMappingURL=notice-ledger.d.ts.map