import { DashboardQuestion } from "../../entities/dashboard-question.entity";
import { IDashboardQuestionDataProvider, QuestionSqlDataProviderContext } from "../../interfaces";
import { EntityManager } from "typeorm";
import { SqlExpressionResolverService } from "../sql-expression-resolver.service";
export declare enum SqlExpressionOperator {
    EQUALS = "$equals",
    NOT_EQUALS = "$notEquals",
    CONTAINS = "$contains",
    NOT_CONTAINS = "$notContains",
    STARTS_WITH = "$startsWith",
    ENDS_WITH = "$endsWith",
    IN = "$in",
    NOT_IN = "$notIn",
    BETWEEN = "$between",
    LT = "$lt",
    LTE = "$lte",
    GT = "$gt",
    GTE = "$gte"
}
export interface SqlExpression {
    variableName: string;
    operator: SqlExpressionOperator;
    value: string[];
}
export declare class ChartJsSqlDataProvider implements IDashboardQuestionDataProvider<QuestionSqlDataProviderContext, any> {
    private readonly entityManager;
    private readonly sqlExpressionResolver;
    private readonly logger;
    constructor(entityManager: EntityManager, sqlExpressionResolver: SqlExpressionResolverService);
    help(): string;
    name(): string;
    getData(question: DashboardQuestion, context?: QuestionSqlDataProviderContext): Promise<any>;
}
//# sourceMappingURL=chartjs-sql-data-provider.service.d.ts.map