import type { ScorecardsConfig } from '@redocly/config';
import type { Filter } from '../../../providers/database/pagination/types.js';
type ScorecardConfig = ScorecardsConfig[number];
type EntitiesConfig = ScorecardConfig['entities'];
/**
 * Transforms scorecards entities config (array or `{ operator, conditions }`) into a {@link Filter}
 * used by the pagination layer. Handles AND/OR, nested conditions, and simple field conditions.
 *
 * @param entities - Entities config: array of conditions (AND) or `{ operator: 'and'|'or', conditions }`
 * @returns A filter tree with `op` and `conditions`
 * @throws Error when config is empty array, invalid structure, or unsupported operator
 */
export declare function transformEntitiesToFilter(entities: EntitiesConfig): Filter;
export {};
//# sourceMappingURL=entities-to-filter.d.ts.map