/** * GitMemClient — thin wrapper around the `git mem` CLI. * * Uses `execa` to shell out to the globally-installed `git-mem` binary. * All methods are fail-safe: errors are caught and logged, * callers receive empty results or false rather than thrown exceptions. */ import type { IGitMemClient } from '../../domain/interfaces/IGitMemClient'; import type { ILogger } from '../../domain/interfaces/ILogger'; import type { IGitMemEntry, IRememberOptions, IRecallOptions, IContextOptions, IRetrofitOptions, IRetrofitResult } from './types'; export declare class GitMemClient implements IGitMemClient { private readonly cwd; private readonly logger?; constructor(cwd: string, logger?: ILogger | undefined); /** * Execute a git-mem CLI command. * @returns stdout on success, null on failure */ private exec; /** * Store a memory via `git mem remember`. */ remember(text: string, options?: IRememberOptions): Promise; /** * Search memories via `git mem recall`. */ recall(query?: string, options?: IRecallOptions): Promise; /** * Get memories relevant to staged changes via `git mem context`. */ context(options?: IContextOptions): Promise; /** * Scan commit history via `git mem retrofit`. */ retrofit(options?: IRetrofitOptions): Promise; } //# sourceMappingURL=GitMemClient.d.ts.map