import { S as ActiveRecallResult, g as ActiveMemorySearchDebug, it as RecallSubagentResult, p as ActiveMemoryPartialTimeoutData, pt as TranscriptReadLimits, y as ActiveMemoryTranscriptSource } from "../../types-CjSvtnIY.js";
//#region extensions/active-memory/transcript-result.d.ts
declare function readMemoryToolResultEvidence(params: {
  toolName: string;
  result: unknown;
  isError: boolean;
  toolsAllow: readonly string[];
}): {
  hasUsableMemoryResult: boolean;
  hasUnavailableMemorySearchResult: boolean;
};
declare function readPartialAssistantText(source: ActiveMemoryTranscriptSource | string | undefined, limits?: TranscriptReadLimits): Promise<string | null>;
declare function readPartialAssistantTextFromSources(sources: readonly ActiveMemoryTranscriptSource[], limits?: TranscriptReadLimits): Promise<string | null>;
declare function attachPartialTimeoutData(error: unknown, data: ActiveMemoryPartialTimeoutData): void;
declare function readPartialTimeoutData(error: unknown): ActiveMemoryPartialTimeoutData;
declare function buildTimeoutRecallResult(params: ActiveMemoryPartialTimeoutData & {
  elapsedMs: number;
  maxSummaryChars: number;
  transcriptSources: readonly ActiveMemoryTranscriptSource[];
  subagentPromise?: Promise<RecallSubagentResult>;
  toolsAllow: readonly string[];
}): Promise<ActiveRecallResult>;
declare function buildSubagentRecallResult(params: {
  subagentResult: RecallSubagentResult;
  fallbackSearchDebug?: ActiveMemorySearchDebug;
  fallbackHasUsableMemoryResult?: boolean;
  elapsedMs: number;
  maxSummaryChars: number;
}): ActiveRecallResult;
declare function resetActiveMemoryTranscriptForTests(): void;
declare function setTimeoutPartialDataGraceMsForTests(value: number): void;
//#endregion
export { attachPartialTimeoutData, buildSubagentRecallResult, buildTimeoutRecallResult, readMemoryToolResultEvidence, readPartialAssistantText, readPartialAssistantTextFromSources, readPartialTimeoutData, resetActiveMemoryTranscriptForTests, setTimeoutPartialDataGraceMsForTests };