import { DokkimiConfig, RuntimeConfig } from './config.types'; export declare class ConfigLoader { private static instance; private config; private constructor(); static getInstance(): ConfigLoader; /** * Load configuration from YAML file * Must be called during application startup before any services initialize */ load(configPath?: string): DokkimiConfig; /** * Get loaded configuration * Throws if configuration hasn't been loaded yet */ getConfig(): DokkimiConfig; /** * Get runtime configuration from environment variables * These are instance-specific values not in the static config files */ getRuntimeConfig(): RuntimeConfig; /** * Recursively expand ~ to the user's home directory in all string values. */ private expandTildePaths; /** * Apply environment variable overrides to the loaded config. * Only HOST overrides are supported — port values come from the config file. */ private applyEnvOverrides; /** * Helper to get required environment variable */ private getRequiredEnv; } export declare const loadConfig: (configPath?: string) => DokkimiConfig; export declare const getConfig: () => DokkimiConfig; export declare const getRuntimeConfig: () => RuntimeConfig;