import { FetchClient } from '@veupathdb/web-common/lib/util/api'; import { TypeOf } from 'io-ts'; import { Filter } from '../types/filter'; import { StudyMetadata } from "../types/study"; export declare type StudyResponse = TypeOf; export declare const StudyResponse: import("io-ts").TypeC<{ study: import("io-ts").IntersectionC<[import("io-ts").TypeC<{ id: import("io-ts").StringC; }>, import("io-ts").TypeC<{ rootEntity: import("io-ts").Type; }>]>; }>; export interface HistogramRequestParams { filters: Filter[]; } export declare type HistogramResponse = TypeOf; export declare const HistogramResponse: import("io-ts").TypeC<{ entitiesCount: import("io-ts").NumberC; distribution: import("io-ts").RecordC; }>; export declare class EdaClient extends FetchClient { getStudyMetadata(studyId: string): Promise; getEntityCount(studyId: string, entityId: string, filters: Filter[]): Promise<{ count: number; }>; getDistribution(studyId: string, entityId: string, variableId: string, params: HistogramRequestParams): Promise; } //# sourceMappingURL=eda-api.d.ts.map