import type { NdjsonInteractiveEnd, NdjsonInteractiveStart, NdjsonPhaseComplete, NdjsonPhaseJudgeStage, NdjsonPhaseStart, NdjsonStepComplete, NdjsonStepStart, NdjsonWorkflowAbort, NdjsonWorkflowComplete } from '../../../infra/fs/index.js';
import type { PromptLogRecord } from '../../../shared/utils/index.js';
import type { AgentResponse, WorkflowResumePointEntry, WorkflowState, WorkflowStep } from '../../../core/models/index.js';
import type { JudgeStageEntry, PhasePromptParts, StepProviderInfo } from '../../../core/workflow/types.js';
import type { InteractiveMetadata } from './types.js';
type SanitizeText = (text: string) => string;
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, 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): NdjsonWorkflowAbort;
export {};
//# sourceMappingURL=sessionLoggerRecordFactory.d.ts.map