import { type ArkmeMessageSyncProgress } from '../chat-message-sync.js'; import { type ServiceRuntime } from './service.js'; import type { UnifiedChatTimelineService } from './unified-chat-timeline-service.js'; import type { SourceService } from './source-service.js'; import type { ChatService } from './chat-service.js'; import type { ArkmeChatClientEvent } from '../types.js'; /** One lifecycle per Host; a UI mount, Tool call or SDK consumer never owns a second pump. */ export declare class ChatMessageSyncService { private readonly runtime; private readonly timeline; private readonly source; private readonly chat; private readonly publish; private progress; private started; private disposed; private generation; private revision; private controller; private running; private timer; private dirty; private failures; private readonly unsubscribe?; constructor(runtime: ServiceRuntime, timeline: UnifiedChatTimelineService, source: SourceService, chat: ChatService, publish: (progress: ArkmeMessageSyncProgress, sourceKeys?: string[]) => void); private update; start(): () => void; reset(): void; dispose(): void; accept(event: ArkmeChatClientEvent): void; private wake; private launch; private assert; status(signal?: AbortSignal): Promise; retry(signal?: AbortSignal): Promise; private request; private identify; private run; private scheduleRetry; private validateBodies; } //# sourceMappingURL=chat-message-sync-service.d.ts.map