import type { ConflictResolverInput, ConflictResolverOutput } from './ConflictResolver'; import { ConflictResolver } from './ConflictResolver'; /** * A {@link ConflictResolver} that finds that, for all input policy/report combinations, * finds the policies with the highest `urn:example:custom:odrl:priority` value. * Only those policy/report combinations get sent to the source resolver. * * Currently, there is no `canHandle` implementation, implying it can handle everything. * * In case some reports do not have a priority, * processing is halted and the entire input is sent to the source resolver. * If the `PriorityConflictResolver` is instantiated with `setDefaultPriority` set to true, * those reports will instead default to priority `0` and be interpreted as such. */ export declare class PriorityConflictResolver extends ConflictResolver { protected readonly resolver: ConflictResolver; protected readonly setDefaultPriority: boolean; constructor(resolver: ConflictResolver, setDefaultPriority?: boolean); handle(input: ConflictResolverInput): Promise; }