/** * Regex pattern for validating language/interpreter names. * Allows alphanumeric characters, dots, hyphens, and underscores. * Rejects path separators, spaces, and shell metacharacters to prevent injection. */ export declare const LANGUAGE_PATTERN: RegExp; /** * Regex pattern for validating environment variable names: a leading letter or * underscore, followed by letters, digits, or underscores (valid POSIX names). * Names outside this set are rejected to prevent shell-syntax injection where a * key is interpolated into a command, and to fail with a clear error otherwise. */ export declare const ENV_KEY_PATTERN: RegExp; /** * Shell-escape a string for safe inclusion in a shell command. * * Wraps the value in single quotes and escapes any embedded single quotes * using the '\'' pattern. Single quotes disable all shell expansion * (variables, backticks, globbing), making this safe against injection. * * @param value - The string to escape. * @returns The shell-escaped string wrapped in single quotes. */ export declare function shellQuote(value: string): string; //# sourceMappingURL=constants.d.ts.map