import type { MastraDBMessage } from '@mastra/core/agent'; import { ObservationStrategy } from './base.js'; import type { StrategyDeps } from './base.js'; import type { ObservationRunOpts, ObserverOutput, ProcessedObservation } from './types.js'; export declare class AsyncBufferObservationStrategy extends ObservationStrategy { private readonly startedAt; private readonly cycleId; constructor(deps: StrategyDeps, opts: ObservationRunOpts); get needsLock(): boolean; get needsReflection(): boolean; get rethrowOnFailure(): boolean; protected generateCycleId(): string; prepare(): Promise<{ messages: MastraDBMessage[]; existingObservations: string; }>; emitStartMarkers(_cycleId: string): Promise; observe(existingObservations: string, messages: MastraDBMessage[]): Promise<{ observations: string; currentTask?: string; suggestedContinuation?: string; threadTitle?: string; usage?: { inputTokens?: number; outputTokens?: number; totalTokens?: number; }; }>; process(output: ObserverOutput, _existingObservations: string): Promise; persist(processed: ProcessedObservation): Promise; emitEndMarkers(_cycleId: string, processed: ProcessedObservation): Promise; emitFailedMarkers(_cycleId: string, error: unknown): Promise; } //# sourceMappingURL=async-buffer.d.ts.map