import { z } from 'zod';
import { DimensionType, MetricType } from '../../../../types/field';
import { FilterOperator, FilterType } from '../../../../types/filter';
declare const numberFilterSchema: z.ZodUnion<[z.ZodObject<{
    fieldId: z.ZodString;
    fieldType: z.ZodUnion<[z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.SUM_DISTINCT>, z.ZodLiteral<MetricType.AVERAGE_DISTINCT>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>]>;
    fieldFilterType: z.ZodLiteral<FilterType.NUMBER>;
} & {
    operator: z.ZodUnion<[z.ZodLiteral<FilterOperator.NULL>, z.ZodLiteral<FilterOperator.NOT_NULL>]>;
}, "strip", z.ZodTypeAny, {
    operator: FilterOperator.NULL | FilterOperator.NOT_NULL;
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}, {
    operator: FilterOperator.NULL | FilterOperator.NOT_NULL;
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}>, z.ZodObject<{
    fieldId: z.ZodString;
    fieldType: z.ZodUnion<[z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.SUM_DISTINCT>, z.ZodLiteral<MetricType.AVERAGE_DISTINCT>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>]>;
    fieldFilterType: z.ZodLiteral<FilterType.NUMBER>;
} & {
    operator: z.ZodUnion<[z.ZodLiteral<FilterOperator.EQUALS>, z.ZodLiteral<FilterOperator.NOT_EQUALS>]>;
    values: z.ZodArray<z.ZodNumber, "many">;
}, "strip", z.ZodTypeAny, {
    operator: FilterOperator.EQUALS | FilterOperator.NOT_EQUALS;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}, {
    operator: FilterOperator.EQUALS | FilterOperator.NOT_EQUALS;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}>, z.ZodObject<{
    fieldId: z.ZodString;
    fieldType: z.ZodUnion<[z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.SUM_DISTINCT>, z.ZodLiteral<MetricType.AVERAGE_DISTINCT>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>]>;
    fieldFilterType: z.ZodLiteral<FilterType.NUMBER>;
} & {
    operator: z.ZodUnion<[z.ZodLiteral<FilterOperator.LESS_THAN>, z.ZodLiteral<FilterOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<FilterOperator.GREATER_THAN>, z.ZodLiteral<FilterOperator.GREATER_THAN_OR_EQUAL>]>;
    values: z.ZodArray<z.ZodNumber, "many">;
}, "strip", z.ZodTypeAny, {
    operator: FilterOperator.LESS_THAN | FilterOperator.LESS_THAN_OR_EQUAL | FilterOperator.GREATER_THAN | FilterOperator.GREATER_THAN_OR_EQUAL;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}, {
    operator: FilterOperator.LESS_THAN | FilterOperator.LESS_THAN_OR_EQUAL | FilterOperator.GREATER_THAN | FilterOperator.GREATER_THAN_OR_EQUAL;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}>, z.ZodObject<{
    fieldId: z.ZodString;
    fieldType: z.ZodUnion<[z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.SUM_DISTINCT>, z.ZodLiteral<MetricType.AVERAGE_DISTINCT>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>]>;
    fieldFilterType: z.ZodLiteral<FilterType.NUMBER>;
} & {
    operator: z.ZodUnion<[z.ZodLiteral<FilterOperator.IN_BETWEEN>, z.ZodLiteral<FilterOperator.NOT_IN_BETWEEN>]>;
    values: z.ZodArray<z.ZodNumber, "many">;
}, "strip", z.ZodTypeAny, {
    operator: FilterOperator.IN_BETWEEN | FilterOperator.NOT_IN_BETWEEN;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}, {
    operator: FilterOperator.IN_BETWEEN | FilterOperator.NOT_IN_BETWEEN;
    values: number[];
    fieldId: string;
    fieldType: DimensionType.NUMBER | MetricType.PERCENTILE | MetricType.AVERAGE | MetricType.COUNT | MetricType.COUNT_DISTINCT | MetricType.SUM | MetricType.SUM_DISTINCT | MetricType.AVERAGE_DISTINCT | MetricType.MIN | MetricType.MAX | MetricType.NUMBER | MetricType.MEDIAN;
    fieldFilterType: FilterType.NUMBER;
}>]>;
export default numberFilterSchema;
//# sourceMappingURL=numberFilters.d.ts.map