import { OpaqueToken } from './di'; /** * A token that can be provided when bootstraping an application to make an array of directives * available in every component of the application. * * ### Example * * ```typescript * import {PLATFORM_DIRECTIVES} from '@angular/core'; * import {OtherDirective} from './myDirectives'; * * @Component({ * selector: 'my-component', * template: ` * * * ` * }) * export class MyComponent { * ... * } * * bootstrap(MyComponent, [{provide: PLATFORM_DIRECTIVES, useValue: [OtherDirective], multi:true}]); * ``` * @stable */ export declare const PLATFORM_DIRECTIVES: OpaqueToken; /** * A token that can be provided when bootstraping an application to make an array of pipes * available in every component of the application. * * ### Example * * ```typescript * import {PLATFORM_PIPES} from '@angular/core'; * import {OtherPipe} from './myPipe'; * * @Component({ * selector: 'my-component', * template: ` * {{123 | other-pipe}} * ` * }) * export class MyComponent { * ... * } * * bootstrap(MyComponent, [{provide: PLATFORM_PIPES, useValue: [OtherPipe], multi:true}]); * ``` * @stable */ export declare const PLATFORM_PIPES: OpaqueToken;