export declare const extname: (path: string) => string; export type LoadValues = Record; export type FileLoader = (text: string, filePath: string, values: LoadValues) => Promise; export declare const loadFromFile: (uri: string, loader: FileLoader, values?: LoadValues) => Promise; export declare const fetchWithTimeout: (url: string, init: Omit & { timeout: number; }) => Promise; export type FromPath = { [k in key]?: T; } & { [k in `${key}_path`]?: string; }; export declare const resolveTemplateFromFile: (fieldName: K, config: FromPath) => Promise; export declare const resolveConfigFromFile: (fieldName: K, config: FromPath) => Promise; export declare const parseFileConfig: (text: string, path: string, supportedTypes?: string[]) => any; export declare const chunkArray: (arr: T[], chunkSize: number) => T[][];