import { Arguments, Argv } from 'yargs'; export type EnvResult = Record | Record[] | Promise> | Promise[]>; export interface EnvProviderResult { key: string; config?: Record; value: Record | Record[]; } export interface EnvProvider | undefined = undefined> { key: string; builder?: (builder: Argv) => void; load: (argv: Arguments, config?: C) => EnvResult | never; pull?: (argv: Arguments, config?: C) => void; push?: (argv: Arguments, config?: C) => void; } export interface EnvProviderConfig { path: string; type: 'integrated' | 'module' | 'script'; handler: EnvProvider; config?: Record; } //# sourceMappingURL=loader.interface.d.ts.map