/** * Options for a call to {@link envOrArg}. */ export type EnvOrArgOptions = { allowBlank?: boolean; argv?: string[]; env?: Record; }; /** * Value returned from {@link envOrArg} when an arg is present, but * it appears to be a flag instead of a param. */ export declare const ARG_FLAG = ""; /** * Best-effort attempt to find a configuration arg in both the * environment and the command-line, when you don't want to define * the entire parameter set. Tries its best to do what you mean, * such as converting `SNAKE_CASE` environment params to `--kebab-case` * command line params and vice versa. * Returns {@link ARG_FLAG} if it appears the command line param * is present, but is actually a flag. */ export declare const envOrArg: (nameOrNames: string | string[], options?: EnvOrArgOptions) => string | undefined; //# sourceMappingURL=env-or-arg.d.ts.map