import React from 'react';
import { QlPredicate } from '../../../parser/src/predicate';
export type QueryPredicateProps = {
    predicate: QlPredicate;
    index?: number;
    id: string;
    onChange: (predicate: QlPredicate) => void;
    onNewPredicate: (type: 'group' | 'filter') => void;
    isRoot?: boolean;
    lastChild?: boolean;
};
/**
 * Two types:
 * - combinatory operator
 * - can contain both expressons and combinators
 * [handle] [combinator-dropdown]
 *   [children]
 *
 * - boolean function: ars do not contain other combinators
 * [handle] [column] [operator-dropdown] [...args] [delete-button] [plus-button]
 */
export declare const QueryPredicateBuilder: React.FunctionComponent<QueryPredicateProps>;
