import type { ConfigSource, ConfigLoadResult, ResolveConfigOptions } from '../types.js'; /** * Configuration source that reads SFCC_* environment variables. * * Priority -10 (higher than dw.json at 0), matching CLI behavior where * env vars override file-based config. * * Not added to default sources — opt-in only. The CLI handles env vars * via oclif flag `env:` mappings; this source is for consumers like * the VS Code extension that call `resolveConfig()` directly. * * @example * ```typescript * import { resolveConfig, EnvSource } from '@salesforce/b2c-tooling-sdk/config'; * * const config = resolveConfig({}, { * sourcesBefore: [new EnvSource()], * }); * ``` * * @internal */ export declare class EnvSource implements ConfigSource { readonly name = "EnvSource"; readonly priority = -10; private readonly env; /** * @param env - Environment object to read from. Defaults to `process.env`. */ constructor(env?: Record); load(_options: ResolveConfigOptions): ConfigLoadResult | undefined; }