1 | /**
|
2 | * @license
|
3 | * Copyright Google Inc. All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.io/license
|
7 | */
|
8 | import { OpaqueToken } from './di';
|
9 | /**
|
10 | * A DI Token representing a unique string id assigned to the application by Angular and used
|
11 | * primarily for prefixing application attributes and CSS styles when
|
12 | * {@link ViewEncapsulation#Emulated} is being used.
|
13 | *
|
14 | * If you need to avoid randomly generated value to be used as an application id, you can provide
|
15 | * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}
|
16 | * using this token.
|
17 | * @experimental
|
18 | */
|
19 | export declare const APP_ID: any;
|
20 | export declare function _appIdRandomProviderFactory(): string;
|
21 | /**
|
22 | * Providers that will generate a random APP_ID_TOKEN.
|
23 | * @experimental
|
24 | */
|
25 | export declare const APP_ID_RANDOM_PROVIDER: {
|
26 | provide: any;
|
27 | useFactory: () => string;
|
28 | deps: any[];
|
29 | };
|
30 | /**
|
31 | * A function that will be executed when a platform is initialized.
|
32 | * @experimental
|
33 | */
|
34 | export declare const PLATFORM_INITIALIZER: any;
|
35 | /**
|
36 | * All callbacks provided via this token will be called for every component that is bootstrapped.
|
37 | * Signature of the callback:
|
38 | *
|
39 | * `(componentRef: ComponentRef) => void`.
|
40 | *
|
41 | * @experimental
|
42 | */
|
43 | export declare const APP_BOOTSTRAP_LISTENER: OpaqueToken;
|
44 | /**
|
45 | * A token which indicates the root directory of the application
|
46 | * @experimental
|
47 | */
|
48 | export declare const PACKAGE_ROOT_URL: any;
|