import type { HarnessStreamPart, RunContext } from '../types/index.js'; export interface HttpCallbackConfig { url: string; method?: 'POST' | 'PUT'; headers?: Record; allowList?: string[]; denyList?: string[]; includeFullText?: boolean; timeoutMs?: number; } export interface HttpCallbackPayload { sessionId: string; agentId: string; timestamp: string; part: HarnessStreamPart; fullText?: string; } export declare function createHttpCallback(config: HttpCallbackConfig): (context: RunContext, part: HarnessStreamPart) => Promise; export declare function clearTextAccumulator(sessionId: string): void;