1 | import { ContributionFilterRegistry, ContributionType, FilterContribution } from './contribution-filter';
|
2 | import { Filter } from './filter';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class ContributionFilterRegistryImpl implements ContributionFilterRegistry {
|
9 | protected initialized: boolean;
|
10 | protected genericFilters: Filter<Object>[];
|
11 | protected typeToFilters: Map<ContributionType, Filter<Object>[]>;
|
12 | constructor(contributions?: FilterContribution[]);
|
13 | addFilters(types: '*' | ContributionType[], filters: Filter<Object>[]): void;
|
14 | applyFilters<T extends Object>(toFilter: T[], type: ContributionType): T[];
|
15 | protected getOrCreate(type: ContributionType): Filter<Object>[];
|
16 | protected getFilters(type: ContributionType): Filter<Object>[];
|
17 | }
|
18 | //# sourceMappingURL=contribution-filter-registry.d.ts.map |
\ | No newline at end of file |