import { ApplicationShell } from '../shell'; import { FrontendApplicationStateService } from './frontend-application-state'; import { MaybePromise, AbstractApplication } from '../../common'; export declare class FrontendApplication extends AbstractApplication { protected readonly _shell: ApplicationShell; protected readonly stateService: FrontendApplicationStateService; protected readonly hostDomId: string; get shell(): ApplicationShell; start(): Promise; /** * Return a promise to the host element to which the application shell is attached. */ protected getHost(): Promise; /** * Return an HTML element that indicates the startup phase, e.g. with an animation or a splash screen. */ protected getStartupIndicator(host: HTMLElement): HTMLElement | undefined; /** * Register global event listeners. */ protected registerEventListeners(): void; /** * If a startup indicator is present, it is first hidden with the `malagu-hidden` CSS class and then * removed after a while. The delay until removal is taken from the CSS transition duration. */ protected revealShell(host: HTMLElement): Promise; protected doStart(): Promise; protected measure(name: string, fn: () => MaybePromise): Promise; stop(): Promise; } //# sourceMappingURL=frontend-application.d.ts.map