import type { DatabaseClient } from '../../../../providers/database/client.js';
import type { DatabaseScorecardsConfig, DatabaseScorecardsConfigDto } from '../../../../providers/database/databases/sqlite-db/schemas/scorecards-config-table.js';
import type { RepositoryInstanceOptions } from '../../../../providers/database/types.js';
export declare class ScorecardsConfigRepository {
    #private;
    constructor(db: DatabaseClient);
    static create(options: RepositoryInstanceOptions): Promise<ScorecardsConfigRepository>;
    sync(): Promise<void>;
    close(): Promise<void>;
    findActiveConfigByKey(key: string): Promise<DatabaseScorecardsConfig | null>;
    findAllActiveConfigs(): Promise<DatabaseScorecardsConfig[]>;
    insertConfig(config: DatabaseScorecardsConfigDto): Promise<DatabaseScorecardsConfig>;
    updateConfigById(id: string, updates: Partial<Omit<DatabaseScorecardsConfigDto, 'id' | 'createdAt'>>): Promise<DatabaseScorecardsConfig>;
    archiveConfigById(id: string, archivedAt: string): Promise<DatabaseScorecardsConfig>;
}
//# sourceMappingURL=scorecards-config-repository.d.ts.map