import type { Config } from '../../config/schema.js';
import type { MemoryStoreConfig } from './types.js';
/** When false, curated `memories/` (under agent home) + external memory providers are off. */
export declare function isMemorySubsystemEnabled(config: Config | undefined): boolean;
/** Curated memory tool + agent-home `memories/` store (not injected into system prompt). */
export declare function isCuratedMemoryInPrompt(config: Config | undefined): boolean;
export declare function resolveBuiltinMemoryStoreConfig(workspaceDir: string, config: Config | undefined): MemoryStoreConfig;
/**
 * Whether to prefix the user message with prefetched external memory this turn.
 * `first-turn` only injects on turn 1. `contextCadence` N injects on turns 1, N+1, 2N+1, …
 */
export declare function shouldInjectMemoryPrefetchThisTurn(config: Config | undefined, turnNumber: number): boolean;
export declare function shouldRegisterCuratedMemoryTool(config: Config | undefined): boolean;
