import type { CacheReadModelSchema, SetCacheParams } from '../types.js';
import type { DatabaseConnection, RepositoryInstanceOptions } from '../../../providers/database/types.js';
export declare class CacheRepository {
    #private;
    constructor(dbConnection: DatabaseConnection);
    static getInstance(options: RepositoryInstanceOptions): Promise<CacheRepository>;
    get(key: string, namespace: string): Promise<CacheReadModelSchema | null>;
    set(params: SetCacheParams): Promise<string | null>;
    delete(key: string, namespace: string): Promise<boolean>;
    deleteByNamespace(namespace: string): Promise<boolean>;
    clearAll(): Promise<boolean>;
}
//# sourceMappingURL=cache-repository.d.ts.map