import type { MemoryBackend, MemoryEntry } from './base.js';
interface GitHubMemoryBackendConfig {
    token: string;
    repo: string;
    path: string;
    branch: string;
}
export declare class GitHubMemoryBackend implements MemoryBackend {
    private octokit;
    private repo;
    private owner;
    private path;
    private branch;
    constructor(config: GitHubMemoryBackendConfig);
    isConfigured(): Promise<boolean>;
    store(entry: MemoryEntry): Promise<void>;
    /**
     * Query memories by substring match (case-insensitive).
     * Note: This is NOT semantic search — it uses simple string containment.
     * For semantic search, use QdrantCloudBackend instead.
     */
    query(query: string, limit?: number): Promise<MemoryEntry[]>;
    getRecent(limit?: number): Promise<MemoryEntry[]>;
    prune(olderThan: Date): Promise<number>;
}
export {};
//# sourceMappingURL=github.d.ts.map