import type { AppPathDiscoveryMode } from '../types/AppPathDiscoveryMode.js'; import type { CommandExitParams } from '../types/CommandAction.js'; export type _AppPromptQuestionName = 'app'; /** * Gets the appPath from which Cloudpack will run. If the CWD is a Cloudpack-enabled app, * we'll use that; otherwise, we'll scan for Cloudpack-enabled app and present the user * with a menu. If no apps are found, Cloudpack will just try to run in the CWD anyway. * * @returns App path(s) (just one unless `discover: 'multi'`), or an exit options object if * there was an error. */ export declare function discoverLocalAppPaths(params: { /** Working directory to start from. */ cwd: string; /** * How to determine the app path(s). (`--app` in the docs refers to `desiredApp` here.) * @default 'single' */ discover?: Exclude; /** * Desired app name or substring, from the `--app` option. * - If there's an exact match, only that app will be returned. * - If multiple apps match a substring, see `discover` for behavior. * - If no match, it's an error. */ desiredApp?: string; }): Promise; //# sourceMappingURL=discoverLocalAppPaths.d.ts.map