import type { ComponentContext } from 'piral-core';
import type { NgModuleRef } from '@angular/core';
import type { NgModuleFlags, NgOptions } from './types';
export type NgModuleInt = NgModuleRef<any> & {
    _destroyed: boolean;
};
export declare function teardown(BootstrapModule: any): void;
export declare function startup(BootstrapModule: any, context: ComponentContext, ngOptions?: NgOptions, ngFlags?: NgModuleFlags): Promise<void | NgModuleInt>;
