import { AgentIntegrationError, type AgentCaptureStatus, type AgentIntegrationReasonCode, type AgentObservation, type AgentSession, type CaptureResult, type PersistedAgentEventInput } from '@memento/core'; interface TranscriptRepository { runInTransaction(operation: () => T): T; getSession(id: string): AgentSession | null; findObservationByIdempotencyKey(adapterName: string, eventId: string): AgentObservation | null; } interface TranscriptLifecycleService { capture(event: PersistedAgentEventInput): CaptureResult; } export interface AgentTranscriptImporterDependencies { prepareEvent(input: unknown): PersistedAgentEventInput; lifecycleService: TranscriptLifecycleService; repository: TranscriptRepository; } export interface AgentTranscriptImportInput { transcript: unknown; dryRun?: boolean; } export interface AgentTranscriptImportLineResult { line: number; eventId: string; status: AgentCaptureStatus; reasonCode: string; observationId?: string; lateArrival: boolean; } export interface AgentTranscriptImportResult { dryRun: boolean; sessionId: string; total: number; accepted: number; duplicates: number; redacted: number; dropped: number; lines: AgentTranscriptImportLineResult[]; } export declare class AgentTranscriptImportError extends AgentIntegrationError { readonly line?: number; constructor(message: string, reasonCode: AgentIntegrationReasonCode, httpStatus: number, line?: number, retryable?: boolean); } export declare class AgentTranscriptImporter { private readonly dependencies; constructor(dependencies: AgentTranscriptImporterDependencies); import(input: AgentTranscriptImportInput): AgentTranscriptImportResult; private prepare; private validate; private commit; private result; } export {}; //# sourceMappingURL=agent-transcript-import.d.ts.map