import { VariableLoader, Serializer } from '@utcp/sdk'; /** * Variable loader that loads environment variables from a .env file. * The file is read on every get() call to support change detection. */ declare class DotEnvVariableLoader implements VariableLoader { variable_loader_type: 'dotenv'; env_file_path: string; constructor(env_file_path: string); /** * Retrieves a variable value from the .env file. * The file is read on every call to support runtime changes. * @param key Variable name to retrieve. * @returns Variable value if found, null otherwise. */ get(key: string): Promise; } /** * Serializer for DotEnvVariableLoader objects. */ declare class DotEnvVariableLoaderSerializer extends Serializer { toDict(obj: DotEnvVariableLoader): Record; validateDict(obj: Record): DotEnvVariableLoader; } /** * Registers the DotEnv Variable Loader with the UTCP plugin system. * This function is called automatically when the package is imported. * @param override Whether to override an existing registration */ declare function register(override?: boolean): void; export { DotEnvVariableLoader, DotEnvVariableLoaderSerializer, register };