import type { ScorecardsConfig } from '@redocly/config';
import type { Filter } from '../../providers/database/pagination/types.js';
import type { CatalogEntitiesService } from '../../plugins/catalog-entities/database/catalog-entities-service.js';
import type { ScorecardsConfigService } from '../../plugins/scorecards/database/scorecards-config-service.js';
export type ScorecardsWorkerParams = {
    baseDbDir: string;
    scorecardsConfig: ScorecardsConfig;
    pollingIntervalMs?: number;
};
export type PollAndProcessEntitiesParams = {
    scorecardsConfig: ScorecardsConfig;
    pollingIntervalMs: number;
    entitiesFilters: Record<string, Filter>;
    entitiesService: CatalogEntitiesService;
};
export type SyncConfigAndUpdateEntitiesParams = {
    scorecardsConfig: ScorecardsConfig;
    entitiesFilters: Record<string, Filter>;
    configService: ScorecardsConfigService;
    entitiesService: CatalogEntitiesService;
};
export type ScorecardsWorkerResponse = {
    success: true;
    message: string;
} | {
    success: false;
    message: string;
    error: string;
};
//# sourceMappingURL=scorecards.d.ts.map