import { JsonObject } from "../types/index.js"; import { Container } from "./container.js"; export interface Application { readonly container: Container.Container; bootstrap({ flags, plugins }: { flags: JsonObject; plugins?: JsonObject; }): Promise; boot(): void; reboot(): void; config(key: string, value?: T, defaultValue?: T): T | undefined; version(): string; name(): string; thread(): string; dataPath(path?: string): string; useDataPath(path: string): void; configPath(path?: string): string; useConfigPath(path: string): void; cachePath(path?: string): string; useCachePath(path: string): void; logPath(path?: string): string; useLogPath(path: string): void; tempPath(path?: string): string; useTempPath(path: string): void; environmentFile(): string; environment(): string; useEnvironment(value: string): void; isBooted(): boolean; isWorker(): boolean; enableMaintenance(): void; disableMaintenance(): void; isDownForMaintenance(): boolean; terminate(reason?: string, error?: Error): Promise; bind(serviceIdentifier: Container.ServiceIdentifier): Container.BindingToSyntax; rebind(serviceIdentifier: Container.ServiceIdentifier): Container.BindingToSyntax; unbind(serviceIdentifier: Container.ServiceIdentifier): void; get(serviceIdentifier: Container.ServiceIdentifier): T; getTagged(serviceIdentifier: Container.ServiceIdentifier, key: string | number | symbol, value: any): T; isBound(serviceIdentifier: Container.ServiceIdentifier): boolean; isBoundTagged(serviceIdentifier: Container.ServiceIdentifier, key: string | number | symbol, value: any): boolean; resolve(constructorFunction: Container.Newable): T; } export interface PluginDependency { name: string; version?: string; required?: boolean | (() => Promise); } export interface Bootstrapper { bootstrap(): Promise; } //# sourceMappingURL=application.d.ts.map