import type { MemoryRoutingConfig, MemoryRoutingProvider } from './types.js'; export declare function isExplicitMemoryRoutingOptOut(config: MemoryRoutingConfig): boolean; /** Leftover shipped default: enabled false + provider null. Not an explicit opt-out. * resolveLeftoverEnabledConfig migrates old tarballs when the organ is on disk. * Explicit opt-out is enabled: false + provider: repertoire. */ export declare function isLeftoverMemoryRoutingOff(config: MemoryRoutingConfig): boolean; export declare function resolveLeftoverEnabledConfig(config: MemoryRoutingConfig, cwd: string): MemoryRoutingConfig | null; /** * First route cannot wait on the async import. Node loads this ESM with require. * Returns null when routing is off or the module cannot be constructed. */ export declare function loadMemoryRoutingProviderSync(config: MemoryRoutingConfig, cwd?: string): MemoryRoutingProvider | null; export declare function loadMemoryRoutingProvider(config: MemoryRoutingConfig, cwd?: string): Promise;