import { t as OpenClawPluginDefinition } from "../../types-CaqpvD9U.js";
import { v as OpenClawPluginConfigSchema, y as OpenClawPluginDefinition$1 } from "../../plugin-entry-Bh-NZHjd.js";
import { a as isMissingRegisteredMemoryToolsError, m as setSetupGraceTimeoutMsForTests, p as setMinimumTimeoutMsForTests, s as normalizePluginConfig } from "../../config-j7L1txDD.js";
import { n as buildPromptPrefix, t as buildMetadata } from "../../prompt-CU68I4EI.js";
import { n as buildSearchQuery } from "../../query-CVQur9vz.js";
import { a as isCircuitBreakerOpen, d as shouldCacheResult, i as getCircuitBreakerEntry, n as buildCircuitBreakerKey, r as getCachedResult, t as buildCacheKey, u as setCachedResult } from "../../recall-state-DqjbSJrL.js";
import { n as buildPluginStatusLine } from "../../session-Dp8yqK80.js";
import { a as readPartialAssistantText, l as setTimeoutPartialDataGraceMsForTests } from "../../transcript-result-CWVUEeFp.js";
import { t as readActiveMemorySearchDebug } from "../../transcript-watch-nGX8NgnS.js";
import { s as hasUsableMemoryResultInSessionRecord } from "../../transcript-DtT2cpBl.js";

//#region extensions/active-memory/index.d.ts
/** Plugin entry registering Active Memory hooks, tools, config schema, and doctor cleanup. */
declare const _default: {
  id: string;
  name: string;
  description: string;
  configSchema: OpenClawPluginConfigSchema;
  register: NonNullable<OpenClawPluginDefinition$1["register"]>;
} & Pick<OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
declare const testing: {
  buildSearchQuery: typeof buildSearchQuery;
  buildCacheKey: typeof buildCacheKey;
  buildCircuitBreakerKey: typeof buildCircuitBreakerKey;
  buildMetadata: typeof buildMetadata;
  buildPluginStatusLine: typeof buildPluginStatusLine;
  buildPromptPrefix: typeof buildPromptPrefix;
  getCachedResult: typeof getCachedResult;
  hasUsableMemoryResultInSessionRecord: typeof hasUsableMemoryResultInSessionRecord;
  isCircuitBreakerOpen: typeof isCircuitBreakerOpen;
  isMissingRegisteredMemoryToolsError: typeof isMissingRegisteredMemoryToolsError;
  normalizePluginConfig: typeof normalizePluginConfig;
  readActiveMemorySearchDebug: typeof readActiveMemorySearchDebug;
  readPartialAssistantText: typeof readPartialAssistantText;
  shouldCacheResult: typeof shouldCacheResult;
  resetActiveRecallCacheForTests(): void;
  setMinimumTimeoutMsForTests: typeof setMinimumTimeoutMsForTests;
  setSetupGraceTimeoutMsForTests: typeof setSetupGraceTimeoutMsForTests;
  setTimeoutPartialDataGraceMsForTests: typeof setTimeoutPartialDataGraceMsForTests;
  setCachedResult: typeof setCachedResult;
  getCircuitBreakerEntry: typeof getCircuitBreakerEntry;
};
//#endregion
export { testing as __testing, testing, _default as default };