import { IQueryField } from "../../model"; import { IQueryBuilder } from "./IQueryBuilder"; export declare class CamlQueryBuilder implements IQueryBuilder { protected query: string; withQuery(query: string, joinBy?: "And" | "Or"): CamlQueryBuilder; /** * Add field query to the query * @param fieldInfo Field information * @param joinBy Join by And or Or * @returns CamlQueryBuilder * @throws Error if field name or type is not provided * @throws Error if field comparer is not provided * @throws Error if field comparer is not supported */ withFieldQuery(fieldInfo: IQueryField, joinBy?: "And" | "Or"): CamlQueryBuilder; build(): string; }