import type { LaunchConfig, LaunchConfigInfo } from '../types/index.js'; import type { Editor } from 'mem-fs-editor'; import type { Logger } from '@sap-ux/logger'; /** * Returns path to the launch.json file (if exists) for a given root folder. * * @param rootFolder - workspace root folder. * @param memFs - optional, the memfs editor instance. * @returns {string | undefined} path to the launch config file. */ export declare function getLaunchJSONFilePath(rootFolder: string, memFs?: Editor): Promise; /** * Returns the list of launch.json paths for a given root folders. * * @param rootFolders - list of root folders in workspace. * @param memFs - optional, the memfs editor instance. * @returns {string[]} list of launch.json files. */ export declare function getLaunchJSONFilePaths(rootFolders: string | string[], memFs?: Editor): Promise; /** * Returns launch configurations from a given root folder. * * @param rootFolder - Single path to the root. * @param memFs - optional, the memfs editor instance. * @returns {LaunchConfig[] | undefined} list of launch configs. */ export declare function getLaunchConfigs(rootFolder: string, memFs?: Editor): Promise; /** * Returns all launch configurations by file from a given root folders. * * @param rootFolder - Single path to root or list of root folders. * @param memFs - optional, the memfs editor instance. * @returns {LaunchConfigInfo[]} list of launch configs. */ export declare function getAllLaunchConfigs(rootFolder: string | string[], memFs?: Editor): Promise; /** * Returns the launch configuration from a given launch configurations path by name. * * @param launchConfigPath - path to the launch.json file. * @param name - name of the launch config. * @param options - optional options. * @param options.memFs - optional, the memfs editor instance. * @param options.logger - optional, the logger instance. * @returns {LaunchConfig} launch config. */ export declare function getLaunchConfigByName(launchConfigPath: string, name: string, options?: { memFs?: Editor; logger?: Logger; }): Promise; //# sourceMappingURL=read.d.ts.map