zod-config
Version:
Load configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.
11 lines (8 loc) • 307 B
TypeScript
import { B as BaseAdapterProps, A as Adapter } from './types-0bb1a3ce.js';
import 'zod/v3';
import 'zod/v4/core';
type YamlAdapterProps = BaseAdapterProps & {
path: string;
};
declare const yamlAdapter: ({ path, regex, silent }: YamlAdapterProps) => Adapter;
export { YamlAdapterProps, yamlAdapter };