/// import type { ParsedOptions } from '../types/BeachballOptions'; export interface ProcessInfo { /** Complete argv (node and script path aren't used but elements must be present) */ argv: string[]; /** * Current directory (search for the project root from here). Usually this should be `process.cwd()`. * * In tests, this is assumed to be the project root (searching up is skipped). * This can also be an empty string in tests that don't use the filesystem. */ cwd: string; /** * Environment variables for the process (to easily mock in tests). * Only `NPM_TOKEN` is currently used. */ env: NodeJS.ProcessEnv | { NPM_TOKEN?: string; }; } /** * Gets CLI options. Also gets the `NPM_TOKEN` environment variable if present. */ export declare function getCliOptions(processInfo: ProcessInfo): ParsedOptions['cliOptions']; /** @deprecated Pass full process info */ export declare function getCliOptions(argv: string[]): ParsedOptions['cliOptions']; //# sourceMappingURL=getCliOptions.d.ts.map