/** One writer per open article. Timers only exist while there are unsent edits. */ export declare class ArticleAutoPublisher { private readonly io; private idle; private deadline; private running; private stopped; private failed; constructor(io: { dirty(): boolean; ready(): boolean; publish(): Promise; onError(error: unknown): void; }); changed(): void; readyChanged(): void; private schedule; private attempt; /** Leave/share is a barrier: include edits made while a previous write was in flight. */ flush(): Promise; stop(): void; private clear; } //# sourceMappingURL=article-auto-publisher.d.ts.map