import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
import type { FileDescriptorProto as FileDescriptorProto1 } from "ts-proto-descriptors";
export declare const protobufPackage = "io.restorecommerce.filter";
export interface Filter {
    field?: string | undefined;
    operation?: Filter_Operation | undefined;
    value?: string | undefined;
    type?: Filter_ValueType | undefined;
    filters?: FilterOp[] | undefined;
}
export declare enum Filter_Operation {
    eq = "eq",
    lt = "lt",
    lte = "lte",
    gt = "gt",
    gte = "gte",
    isEmpty = "isEmpty",
    iLike = "iLike",
    in = "in",
    neq = "neq",
    UNRECOGNIZED = "UNRECOGNIZED"
}
export declare function filter_OperationFromJSON(object: any): Filter_Operation;
export declare function filter_OperationToJSON(object: Filter_Operation): string;
export declare function filter_OperationToNumber(object: Filter_Operation): number;
export declare enum Filter_ValueType {
    /** STRING - default value type if not specified */
    STRING = "STRING",
    NUMBER = "NUMBER",
    BOOLEAN = "BOOLEAN",
    DATE = "DATE",
    ARRAY = "ARRAY",
    UNRECOGNIZED = "UNRECOGNIZED"
}
export declare function filter_ValueTypeFromJSON(object: any): Filter_ValueType;
export declare function filter_ValueTypeToJSON(object: Filter_ValueType): string;
export declare function filter_ValueTypeToNumber(object: Filter_ValueType): number;
export interface FilterOp {
    filters?: Filter[] | undefined;
    operator?: FilterOp_Operator | undefined;
}
export declare enum FilterOp_Operator {
    and = "and",
    or = "or",
    UNRECOGNIZED = "UNRECOGNIZED"
}
export declare function filterOp_OperatorFromJSON(object: any): FilterOp_Operator;
export declare function filterOp_OperatorToJSON(object: FilterOp_Operator): string;
export declare function filterOp_OperatorToNumber(object: FilterOp_Operator): number;
export declare const Filter: MessageFns<Filter>;
export declare const FilterOp: MessageFns<FilterOp>;
type ProtoMetaMessageOptions = {
    options?: {
        [key: string]: any;
    };
    fields?: {
        [key: string]: {
            [key: string]: any;
        };
    };
    oneof?: {
        [key: string]: {
            [key: string]: any;
        };
    };
    nested?: {
        [key: string]: ProtoMetaMessageOptions;
    };
};
export interface ProtoMetadata {
    fileDescriptor: FileDescriptorProto1;
    references: {
        [key: string]: any;
    };
    dependencies?: ProtoMetadata[];
    options?: {
        options?: {
            [key: string]: any;
        };
        services?: {
            [key: string]: {
                options?: {
                    [key: string]: any;
                };
                methods?: {
                    [key: string]: {
                        [key: string]: any;
                    };
                };
            };
        };
        messages?: {
            [key: string]: ProtoMetaMessageOptions;
        };
        enums?: {
            [key: string]: {
                options?: {
                    [key: string]: any;
                };
                values?: {
                    [key: string]: {
                        [key: string]: any;
                    };
                };
            };
        };
    };
}
export declare const protoMetadata: ProtoMetadata;
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
export interface MessageFns<T> {
    encode(message: T, writer?: BinaryWriter): BinaryWriter;
    decode(input: BinaryReader | Uint8Array, length?: number): T;
    fromJSON(object: any): T;
    toJSON(message: T): unknown;
    create(base?: DeepPartial<T>): T;
    fromPartial(object: DeepPartial<T>): T;
}
export {};
//# sourceMappingURL=filter.d.ts.map