import type { NdjsonInteractiveEnd, NdjsonInteractiveStart, NdjsonWorkflowCallComplete, NdjsonWorkflowCallStart, NdjsonPhaseComplete, NdjsonPhaseJudgeStage, NdjsonPhaseStart, NdjsonStepComplete, NdjsonStepStart, NdjsonWorkflowAbort, NdjsonWorkflowComplete, NdjsonCompanionReviewRound, NdjsonCompanionQueueCoalesced, NdjsonCompanionCall, NdjsonCompanionReviewSkipped, NdjsonCompanionReviewMode, NdjsonCompanionReviewTrigger } from '../../../infra/fs/index.js'; import type { PromptLogRecord } from './promptLog.js'; import type { AgentResponse, WorkflowResumePointEntry, WorkflowState, WorkflowStep } from '../../../core/models/index.js'; import type { JudgeStageEntry, PhasePromptParts, StepProviderInfo, WorkflowCallCompleteLifecycle, WorkflowCallLifecycle, CompanionCallPurpose, CompanionCallStatus, CompanionModeratorAudit, CompanionAcceptedFindingAudit, CompanionReviewPhase, CompanionReviewSkipReason, CompanionReviewZeroReason } from '../../../core/workflow/types.js'; import type { InteractiveMetadata } from './types.js'; type SanitizeText = (text: string) => string; export declare function buildWorkflowCallStartRecord(lifecycle: WorkflowCallLifecycle): NdjsonWorkflowCallStart; export declare function buildWorkflowCallCompleteRecord(lifecycle: WorkflowCallCompleteLifecycle, sanitizeText: SanitizeText): NdjsonWorkflowCallComplete; export declare function buildInteractiveRecords(meta: InteractiveMetadata, sanitizeText: SanitizeText): [NdjsonInteractiveStart, NdjsonInteractiveEnd]; export declare function buildPhaseStartRecord(step: WorkflowStep, phase: 1 | 2 | 3, phaseName: 'execute' | 'report' | 'judge', instruction: string, promptParts: PhasePromptParts, workflowStack: WorkflowResumePointEntry[] | undefined, phaseExecutionId: string, iteration: number | undefined, sanitizeText: SanitizeText): NdjsonPhaseStart; export declare function buildPhaseCompleteRecord(step: WorkflowStep, phase: 1 | 2 | 3, phaseName: 'execute' | 'report' | 'judge', content: string, phaseStatus: string, phaseError: string | undefined, workflowStack: WorkflowResumePointEntry[] | undefined, phaseExecutionId: string, iteration: number | undefined, completedAt: string, sanitizeText: SanitizeText): NdjsonPhaseComplete; export declare function buildPromptLogRecord(step: WorkflowStep, phase: 1 | 2 | 3, iteration: number, scope: string, phaseExecutionId: string, promptParts: PhasePromptParts, content: string, timestamp: string, sanitizeText: SanitizeText): PromptLogRecord; export declare function buildPhaseJudgeStageRecord(step: WorkflowStep, phase: 3, phaseName: 'judge', entry: JudgeStageEntry, workflowStack: WorkflowResumePointEntry[] | undefined, phaseExecutionId: string, iteration: number | undefined, sanitizeText: SanitizeText): NdjsonPhaseJudgeStage; export declare function buildStepStartRecord(step: WorkflowStep, iteration: number, instruction: string | undefined, workflowStack: WorkflowResumePointEntry[] | undefined, sanitizeText: SanitizeText, providerInfo?: StepProviderInfo): NdjsonStepStart; export declare function buildStepCompleteRecord(step: WorkflowStep, response: AgentResponse, instruction: string, iteration: number, workflowStack: WorkflowResumePointEntry[] | undefined, sanitizeText: SanitizeText): NdjsonStepComplete; export declare function buildWorkflowCompleteRecord(state: WorkflowState): NdjsonWorkflowComplete; export declare function buildWorkflowAbortRecord(state: WorkflowState, reason: string, sanitizeText: SanitizeText, failureCategory?: AgentResponse['failureCategory']): NdjsonWorkflowAbort; export declare function buildCompanionReviewRoundRecord(input: { readonly step: string; readonly reviewMode: NdjsonCompanionReviewMode; readonly companion: string; readonly trigger: NdjsonCompanionReviewTrigger; readonly digest: string; readonly changedLines: number; readonly findingCount: number; readonly reviewerFindings: readonly CompanionAcceptedFindingAudit[]; readonly moderator?: CompanionModeratorAudit; readonly acceptedFindings: readonly CompanionAcceptedFindingAudit[]; readonly zeroReason?: CompanionReviewZeroReason; readonly runPathNamespace?: readonly string[]; }, sanitizeText: SanitizeText): NdjsonCompanionReviewRound; export declare function buildCompanionQueueCoalescedRecord(input: { readonly step: string; readonly companion: string; readonly replaced: NdjsonCompanionQueueCoalesced['replaced']; readonly replacement: NdjsonCompanionQueueCoalesced['replacement']; readonly runPathNamespace?: readonly string[]; }): NdjsonCompanionQueueCoalesced; export declare function buildCompanionCallRecord(input: { readonly step: string; readonly agent: string; readonly purpose: CompanionCallPurpose; readonly attempt: number; readonly status: CompanionCallStatus; readonly provider: string; readonly model?: string; readonly systemPrompt?: string; readonly prompt?: string; readonly promptResolved: boolean; readonly runPathNamespace?: readonly string[]; readonly response?: AgentResponse; readonly error?: string; }, sanitizeText: SanitizeText): NdjsonCompanionCall; export declare function buildCompanionReviewSkippedRecord(input: { readonly step: string; readonly companion?: string; readonly phase: CompanionReviewPhase; readonly reason: CompanionReviewSkipReason; readonly fixRound?: number; readonly observedGeneration?: number; readonly runPathNamespace?: readonly string[]; }): NdjsonCompanionReviewSkipped; export {}; //# sourceMappingURL=sessionLoggerRecordFactory.d.ts.map