import type { SecretMapping, ExecSecret, EnvFileMapping } from './types.js'; /** * Parse secret mapping from CLI argument * Formats: * ENV_VAR=alias:secret/path -> entire secret as JSON * ENV_VAR=alias:secret/path.key -> specific key from secret * ENV_VAR=uuid -> entire secret as JSON * ENV_VAR=uuid.key -> specific key from secret * ENV_VAR=literal:value -> literal value (no vault fetch) * ENV_VAR=api-key:name -> bind to managed API key, get key value */ export declare function parseSecretMapping(mapping: string): SecretMapping & { literal?: string; }; /** * Parse secret mapping from config file format */ export declare function parseSecretMappingFromConfig(config: ExecSecret): SecretMapping & { literal?: string; }; /** * Parse env file reference from CLI -e/--env-file argument * Formats: * alias:path/to/secret -> secretId only * alias:path/to/secret:PREFIX_ -> secretId with prefix * uuid -> secretId only (UUID format) * uuid:PREFIX_ -> secretId with prefix (UUID format) */ export declare function parseEnvFileReference(ref: string): EnvFileMapping; //# sourceMappingURL=parser.d.ts.map