import { Meta, Query } from '@cubejs-client/core';
export type MemberTypeMap = Record<string, 'time' | 'number' | 'string'>;
export declare function convertGraphQLToJsonQuery({ query, apiUrl, apiToken, }: {
    query: string;
    apiUrl: string;
    apiToken?: string | null;
}): Promise<string>;
export declare function convertJsonQueryToGraphQL({ meta, query }: {
    meta?: Meta | null;
    query: Query;
}): string;
export declare class CubeGraphQLConverter {
    private readonly cubeQuery;
    private readonly types;
    private cubes;
    constructor(cubeQuery: Record<string, any>, types: MemberTypeMap);
    convert(): string;
    private resolveFilter;
    private objectValue;
    private objectFieldFilter;
    private objectField;
    private booleanFilter;
    private orderByArg;
    private getFieldsSelections;
    private getCubeArgs;
    private prepareCubes;
}
