/** @stable */ export declare class BrowserModule { constructor(parentModule: BrowserModule); /** @experimental */ static withServerTransition(params: { appId: string; }): ModuleWithProviders; } /** @experimental */ export declare class BrowserTransferStateModule { } /** @experimental */ export declare class By { static all(): Predicate; static css(selector: string): Predicate; static directive(type: Type): Predicate; } /** @experimental */ export declare function disableDebugTools(): void; /** @deprecated */ export declare const DOCUMENT: InjectionToken; /** @stable */ export declare abstract class DomSanitizer implements Sanitizer { abstract bypassSecurityTrustHtml(value: string): SafeHtml; abstract bypassSecurityTrustResourceUrl(value: string): SafeResourceUrl; abstract bypassSecurityTrustScript(value: string): SafeScript; abstract bypassSecurityTrustStyle(value: string): SafeStyle; abstract bypassSecurityTrustUrl(value: string): SafeUrl; abstract sanitize(context: SecurityContext, value: SafeValue | string | null): string | null; } /** @experimental */ export declare function enableDebugTools(ref: ComponentRef): ComponentRef; /** @stable */ export declare const EVENT_MANAGER_PLUGINS: InjectionToken; /** @stable */ export declare class EventManager { constructor(plugins: EventManagerPlugin[], _zone: NgZone); addEventListener(element: HTMLElement, eventName: string, handler: Function): Function; addGlobalEventListener(target: string, eventName: string, handler: Function): Function; getZone(): NgZone; } /** @experimental */ export declare const HAMMER_GESTURE_CONFIG: InjectionToken; /** @experimental */ export declare class HammerGestureConfig { events: string[]; overrides: { [key: string]: Object; }; buildHammer(element: HTMLElement): HammerInstance; } /** @experimental */ export declare function makeStateKey PlatformRef; /** @stable */ export interface SafeHtml extends SafeValue { } /** @stable */ export interface SafeResourceUrl extends SafeValue { } /** @stable */ export interface SafeScript extends SafeValue { } /** @stable */ export interface SafeStyle extends SafeValue { } /** @stable */ export interface SafeUrl extends SafeValue { } /** @stable */ export interface SafeValue { } /** @experimental */ export declare type StateKey = string & { __not_a_string: never; }; /** @experimental */ export declare class Title { constructor(_doc: any); getTitle(): string; setTitle(newTitle: string): void; } /** @experimental */ export declare class TransferState { get(key: StateKey, defaultValue: T): T; hasKey(key: StateKey): boolean; onSerialize(key: StateKey, callback: () => T): void; remove(key: StateKey): void; set(key: StateKey, value: T): void; toJson(): string; } /** @stable */ export declare const VERSION: Version;