import { SortTypes } from '../ElasticClient/QueryBuilder';
export interface IMethod {
    method: string;
    route: string;
}
export interface IConfigShema {
    elastic: {
        auth: string;
        uri?: string;
    };
    host: string;
    index: string;
    limit: number;
    query: {
        sort: {
            field: string;
            type: SortTypes;
        };
    };
    routes: IMethod[];
}
export default function (data: IConfigShema): Promise<{
    name: string;
    host: string;
    data: any[];
}>;
