import type { AgentConfig, OutputProcessor, ProcessorContext, RunContext } from '../../types/index.js'; export declare function getAgentOutputProcessors(agent: AgentConfig, globalProcessors: OutputProcessor[]): OutputProcessor[]; export declare function buildProcessorContext(context: RunContext, abortSignal?: AbortSignal): ProcessorContext; export declare function runOutputProcessing(agent: AgentConfig, context: RunContext, text: string, globalProcessors: OutputProcessor[], outputRedactions: Array<{ re: RegExp; replacement: string; }> | undefined, getAbortSignal?: () => AbortSignal | undefined): Promise<{ text: string; tripwire?: { processorId: string; reason: string; message: string; }; }>; export declare function postProcessPersistedAssistantMessages(agent: AgentConfig, context: RunContext, startIndex: number, globalProcessors: OutputProcessor[], outputRedactions: Array<{ re: RegExp; replacement: string; }> | undefined, getAbortSignal?: () => AbortSignal | undefined): Promise>;