/** * Shared git-mem factory with lazy singleton pattern. * * Provides a single git-mem instance that can be used by both: * - Infrastructure DI (bootstrap.ts) * - Skills entry points (memory.ts, tasks.ts, etc.) * * This consolidates the duplicate factory patterns from: * - skills/shared/clients/GitMemFactory.ts * - bootstrap.ts inline creation */ import type { IMemoryService as IGitMemMemoryService } from 'git-mem/dist/index'; /** * Get or create the shared git-mem MemoryService instance. * * Uses lazy initialization - the instance is created on first call * and reused for subsequent calls within the same process. * * @returns The git-mem MemoryService instance */ export declare function getGitMemInstance(): IGitMemMemoryService; /** * Create a fresh git-mem MemoryService instance. * * Use this when you need an isolated instance (e.g., for testing) * rather than the shared singleton. * * @returns A new git-mem MemoryService instance */ export declare function createGitMem(): IGitMemMemoryService; /** * Reset the singleton instance (for testing only). * @internal */ export declare function resetGitMemInstance(): void; //# sourceMappingURL=GitMemFactory.d.ts.map