import 'reflect-metadata'; import { Container } from '@artus/injection'; import { ArtusStdError, ExceptionHandler } from './exception'; import { HookFunction, LifecycleManager } from './lifecycle'; import { LoaderFactory, Manifest } from './loader'; import { Application, ApplicationInitOptions } from './types'; import Trigger from './trigger'; import ConfigurationHandler from './configuration'; export declare class ArtusApplication implements Application { manifest?: Manifest; protected container: Container; protected lifecycleManager: LifecycleManager; protected loaderFactory: LoaderFactory; protected defaultClazzLoaded: boolean; constructor(opts?: ApplicationInitOptions); get config(): Record; get frameworks(): Record; get packages(): Record; get trigger(): Trigger; get exceptionHandler(): ExceptionHandler; get configurationHandler(): ConfigurationHandler; getContainer(): Container; loadDefaultClass(): Promise; load(manifest: Manifest): Promise; run(): Promise; registerHook(hookName: string, hookFn: HookFunction): void; close(exit?: boolean): Promise; throwException(code: string): void; createException(code: string): ArtusStdError; } export { Application };