import { NoInferType } from './types'; export declare class ConfigService> { private readonly internalConfig; get isCacheEnabled(): boolean; set isCacheEnabled(value: boolean); private readonly cache; private _isCacheEnabled; constructor(internalConfig?: Record); get(propertyPath: keyof K): T | undefined; get(propertyPath: keyof K, defaultValue: NoInferType): T; private getFromCache; private getFromValidatedEnv; private getFromProcessEnv; private getFromInternalConfig; private setInCacheIfDefined; }