import type { EventHandlerType } from './interfaces'; export declare const eventsDomainModifier: { new (): { load: (settings: unknown) => void | Promise | ((args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise) | Promise<(args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise>; ready: (args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise; close: (() => void | Promise) | undefined; commands: import("@palmares/core").DefaultCommandType | undefined; instances?: import("@palmares/core").Domain[]; name: string; path: string; isLoaded: boolean; modifiers: { getEvents: () => Promise<{ [eventName: string]: EventHandlerType | { handler: EventHandlerType; withResult: boolean; }; }>; }; __isReady: boolean; __isClosed: boolean; }; toJSON: () => { name: string; path: string; }; $$type: string; __instance: import("@palmares/core").Domain; } & (new () => { load: (settings: unknown) => void | Promise | ((args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise) | Promise<(args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise>; ready: (args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise; close: (() => void | Promise) | undefined; commands: import("@palmares/core").DefaultCommandType | undefined; instances?: import("@palmares/core").Domain[]; name: string; path: string; isLoaded: boolean; modifiers: { getEvents: () => Promise<{ [eventName: string]: EventHandlerType | { handler: EventHandlerType; withResult: boolean; }; }>; }; __isReady: boolean; __isClosed: boolean; }); export declare const eventsDomain: { new (): { load: (settings: unknown) => void | Promise | ((args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise) | Promise<(args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise>; ready: (args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise; close: (() => void | Promise) | undefined; commands: { readonly eventsServer: { readonly description: "Run the application in events server mode"; readonly positionalArgs: undefined; readonly keywordArgs: undefined; readonly handler: () => { new (domains: import("@palmares/core").Domain[], settings: import("@palmares/core").SettingsType2): { start: (configureCleanup: (args?: any) => Promise | void) => Promise; load: ({ settings, domains }: { domains: import("@palmares/core").Domain[]; commandLineArgs: import("@palmares/core").DomainHandlerFunctionArgs["commandLineArgs"]; settings: import("@palmares/core").SettingsType2; }) => Promise; close: () => Promise; baseAppServer: import("@palmares/core/dist/src/app").BaseAppServer; }; $$type: string; }; }; } | undefined; instances?: import("@palmares/core").Domain[]; name: string; path: string; isLoaded: boolean; modifiers: unknown; __isReady: boolean; __isClosed: boolean; }; toJSON: () => { name: string; path: string; }; $$type: string; __instance: import("@palmares/core").Domain; } & (new () => { load: (settings: unknown) => void | Promise | ((args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise) | Promise<(args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise>; ready: (args: import("@palmares/core").DomainReadyFunctionArgs) => void | Promise; close: (() => void | Promise) | undefined; commands: { readonly eventsServer: { readonly description: "Run the application in events server mode"; readonly positionalArgs: undefined; readonly keywordArgs: undefined; readonly handler: () => { new (domains: import("@palmares/core").Domain[], settings: import("@palmares/core").SettingsType2): { start: (configureCleanup: (args?: any) => Promise | void) => Promise; load: ({ settings, domains }: { domains: import("@palmares/core").Domain[]; commandLineArgs: import("@palmares/core").DomainHandlerFunctionArgs["commandLineArgs"]; settings: import("@palmares/core").SettingsType2; }) => Promise; close: () => Promise; baseAppServer: import("@palmares/core/dist/src/app").BaseAppServer; }; $$type: string; }; }; } | undefined; instances?: import("@palmares/core").Domain[]; name: string; path: string; isLoaded: boolean; modifiers: unknown; __isReady: boolean; __isClosed: boolean; } & { commands: { readonly eventsServer: { readonly description: "Run the application in events server mode"; readonly positionalArgs: undefined; readonly keywordArgs: undefined; readonly handler: () => { new (domains: import("@palmares/core").Domain[], settings: import("@palmares/core").SettingsType2): { start: (configureCleanup: (args?: any) => Promise | void) => Promise; load: ({ settings, domains }: { domains: import("@palmares/core").Domain[]; commandLineArgs: import("@palmares/core").DomainHandlerFunctionArgs["commandLineArgs"]; settings: import("@palmares/core").SettingsType2; }) => Promise; close: () => Promise; baseAppServer: import("@palmares/core/dist/src/app").BaseAppServer; }; $$type: string; }; }; }; }); //# sourceMappingURL=domain.d.ts.map