import joi from '@f2/joi';
export declare function validateConfig<T>(config: T, schema: joi.ObjectSchema<Partial<T>>): T;
export declare function validateConfig<T>(config: any, schema: joi.ObjectSchema<Partial<T>>): T;
export declare function getConfig<T>(): T;
