/** * Core configuration loading logic shared between Zod v3 and v4 implementations. * This module is version-agnostic and uses a ZodAdapter for version-specific operations. */ import { type BaseGetConfigOptions, type ZodAdapter } from './types.js'; /** * Core implementation of getConfig that works with any Zod version. * * @param options - Configuration options * @param schema - The Zod schema * @param adapter - The Zod adapter for version-specific operations * @returns Validated configuration object */ export declare const getConfigCore: (options: BaseGetConfigOptions, schema: unknown, adapter: ZodAdapter) => T; /** * Core implementation of getConfigAsync that works with any Zod version. * Loads configuration files asynchronously. * * @param options - Configuration options * @param schema - The Zod schema * @param adapter - The Zod adapter for version-specific operations * @returns Promise resolving to validated configuration object */ export declare const getConfigAsyncCore: (options: BaseGetConfigOptions, schema: unknown, adapter: ZodAdapter) => Promise;