import type z from 'zod'; import type { EnvironmentType } from './index.js'; /** * Load configuration from a yaml file. * * @param absolute_path * @param file_name Without the yml extension. * @param schema * @param extension The extension of the file. * @throws {ZodError} If the schema is invalid. * @returns Output schema type. * @since 5.0.0 * @author Caique Araujo */ export declare const loadYaml: (absolute_path: string, file_name: string, schema: Schema, extension?: string) => Promise>; /** * Load configuration from a ini file. * It will remove the extension from the file name. * * @param absolute_path * @param file_name Without the ini extension. * @param schema * @throws {ZodError} If the schema is invalid. * @returns Output schema type. * @since 5.0.0 * @author Caique Araujo */ export declare const loadConfigIni: (absolute_path: string, file_name: string, schema: Schema) => Promise>; /** * Load configuration from a dotenv file. * * @param type Will be used to load the correct file: .env.develoment, .env.test, etc. * @param absolute_path * @param schema * @throws {ZodError} If the schema is invalid. * @returns Output schema type. * @since 4.0.0 * @author Caique Araujo */ export declare const loadDotEnv: (type: EnvironmentType, absolute_path: string, schema: Schema) => Promise>;