export type EnvRecord = Readonly<Record<string, string | undefined>>;
export declare const DIMCODE_ENV_PREFIX = "DIMCODE_";
export type EnvReader = Readonly<{
    env: EnvRecord;
    str: (key: string, ...aliases: string[]) => string;
    strAny: (keys: readonly string[]) => string;
    bool: (key: string, ...aliases: string[]) => boolean | undefined;
    boolAny: (keys: readonly string[]) => boolean | undefined;
    int: (key: string, ...aliases: string[]) => number | undefined;
    intAny: (keys: readonly string[]) => number | undefined;
    float: (key: string, ...aliases: string[]) => number | undefined;
    floatAny: (keys: readonly string[]) => number | undefined;
    prefixedStr: (name: string, ...aliases: string[]) => string;
    prefixedBool: (name: string, ...aliases: string[]) => boolean | undefined;
    prefixedInt: (name: string, ...aliases: string[]) => number | undefined;
    prefixedFloat: (name: string, ...aliases: string[]) => number | undefined;
}>;
export declare function readProcessEnv(): EnvRecord;
export declare function resolveEnv(primary?: EnvRecord, fallback?: EnvRecord): EnvRecord;
export declare function prefixedEnvKeys(name: string): readonly [string];
export declare function createEnvReader(env?: EnvRecord, fallback?: EnvRecord): EnvReader;
export declare function readPrefixedEnv(env: EnvRecord | undefined, name: string): string;
export declare function readPrefixedEnvFlag(env: EnvRecord | undefined, name: string): string;
export declare function setPrefixedEnvValue(env: Record<string, string | undefined>, name: string, value: string | undefined): void;
export declare function ensurePrefixedEnvValue(env: Record<string, string | undefined>, name: string, fallback: string): string;
//# sourceMappingURL=env.d.ts.map