import type { DefaultCommandType } from './types'; import type { SettingsType2 } from '../conf/types'; import type { Std } from '../std-adapter'; declare global { var $PCachedCommands: DefaultCommandType | undefined; } export declare function getCommands(): DefaultCommandType; /** * Main entrypoint for the hole application, the idea is simple: when we start the program we load all the domains, * then we get all the commands it have. */ export declare function handleCommands(settingsOrSettingsPath: Promise<{ default: SettingsType2; }> | SettingsType2 | Std | Promise<{ default: Std; }> | { settingsPathLocation: string; std: Std; }, args: string[]): Promise; //# sourceMappingURL=index.d.ts.map