import { DbQuery } from '../db-query.model';
/**
 * @private
 * @class QueryPart
 *
 * @description
 * This class is private part of the API.
 * It is an intermidiate query object for builded query parts
 *
 * @author  Olivier Margarit
 *
 * @since   0.1
 */
export declare class QueryPart {
    /**
     * @public
     * @property {string} content string part of the query
     */
    content: string;
    /**
     * @public
     * @property {Array<any>} params the parameters of this part of query
     */
    params: any[];
    /**
     * @public
     * @method append   append other query part to itself and return itself
     *                  to chain appending
     *
     * @param {QueryPart} queryPart another query part to append
     *
     * @return {QueryPart} the query part itself
     */
    append(queryPart: QueryPart): QueryPart;
    /**
     * @public
     * @method appendSub append sub query part
     *
     * @param {QueryPart} queryPart the query part to append
     *
     * @return {QueryPart} the query part instance to chain operation
     *
     * @since 0.2
     */
    appendSub(queryPart: QueryPart | DbQuery): QueryPart;
    /**
     * @public
     * @method appendContent append query content to the query part
     *
     * @param {string} content the string part to append
     *
     * @return {QueryPart} the query part instance to chain operation
     *
     * @since 0.2
     */
    appendContent(content: string): QueryPart;
}
