UNPKG

906 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC 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 */
8import { ApplicationRef, InjectionToken, Optional } from '@angular/core';
9import { EventReplayer } from './api/event.replayer';
10import { PrebootOptions } from './common/preboot.interfaces';
11export declare const PREBOOT_OPTIONS: InjectionToken<PrebootOptions>;
12export declare function PREBOOT_FACTORY(doc: Document, prebootOpts: PrebootOptions, nonce: string | null, platformId: Object, appRef: ApplicationRef, eventReplayer: EventReplayer): () => void;
13export declare const PREBOOT_PROVIDER: {
14 provide: InjectionToken<() => void>;
15 useFactory: typeof PREBOOT_FACTORY;
16 deps: (typeof EventReplayer | InjectionToken<PrebootOptions> | Optional[] | typeof ApplicationRef)[];
17 multi: boolean;
18};