import type { ToolsLogger } from '@sap-ux/logger'; import type { JsonInput } from '../app/types.js'; /** * Returns the first argument from a list of CLI arguments. If the first argument * is not a string returns empty string. * * @param {string | string[]} args - The list of CLI command arguments. * @returns {string} The first parameter in the argument's list as string. */ export declare function getFirstArgAsString(args: string | string[]): string; /** * Parse a json string as an object conforming to the {@link JsonInput} interface. * * @param {string} jsonString - The json string representation. * @param {ToolsLogger} logger - The logger instance. * @returns {JsonInput | undefined} The parsed json object, in case of an error or * if the object does not match the above interface - returns undefined. */ export declare function parseJsonInput(jsonString: string, logger: ToolsLogger): JsonInput | undefined; //# sourceMappingURL=parse-json-input.d.ts.map