import { r as KlawConfig } from "../types.klaw-xKUw_Rz7.js"; import { n as PluginManifestCommandAliasRegistry } from "../manifest-command-aliases-DEloGdGW.js"; //#region src/cli/run-main-policy.d.ts declare function rewriteUpdateFlagArgv(argv: string[]): string[]; declare function shouldEnsureCliPath(argv: string[]): boolean; declare function shouldUseRootHelpFastPath(argv: string[], env?: NodeJS.ProcessEnv): boolean; declare function shouldUseBrowserHelpFastPath(argv: string[], env?: NodeJS.ProcessEnv): boolean; declare function shouldStartCrestodianForBareRoot(argv: string[]): boolean; declare function shouldStartCrestodianForModernOnboard(argv: string[]): boolean; declare function shouldStartProxyForCli(argv: string[]): boolean; //#endregion //#region src/cli/run-main.d.ts declare function isGatewayRunFastPathArgv(argv: string[]): boolean; declare function resolveMissingPluginCommandMessage(pluginId: string, config?: KlawConfig, options?: { registry?: PluginManifestCommandAliasRegistry; }): string | null; declare function runCli(argv?: string[]): Promise; declare function isCliMainModule(): boolean; //#endregion export { isCliMainModule, isGatewayRunFastPathArgv, resolveMissingPluginCommandMessage, rewriteUpdateFlagArgv, runCli, shouldEnsureCliPath, shouldStartCrestodianForBareRoot, shouldStartCrestodianForModernOnboard, shouldStartProxyForCli, shouldUseBrowserHelpFastPath, shouldUseRootHelpFastPath };