1 | import { interfaces } from 'inversify';
|
2 | export declare const ContributionProvider: unique symbol;
|
3 | export interface ContributionProvider<T extends object> {
|
4 | |
5 |
|
6 |
|
7 | getContributions(recursive?: boolean): T[];
|
8 | }
|
9 | export type Bindable = interfaces.Bind | interfaces.Container;
|
10 | export declare namespace Bindable {
|
11 | function isContainer(arg: Bindable): arg is interfaces.Container;
|
12 | }
|
13 | export declare function bindContributionProvider(bindable: Bindable, id: symbol): void;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare function bindContribution(bindable: Bindable, service: interfaces.ServiceIdentifier<any>, contributions: interfaces.ServiceIdentifier<any>[]): void;
|
21 |
|
\ | No newline at end of file |