import type { NameLabelPair, OptionGroup, RuleGroupTypeAny, RuleType, UpdateableProperties, ValueSources } from '../types/index.noReact'; export declare const add: (query: RG, ruleOrGroup: RG | RuleType, parentPath: number[]) => RG; interface UpdateOptions { resetOnFieldChange: boolean; resetOnOperatorChange: boolean; getRuleDefaultOperator: (field: string) => string; getValueSources: (field: string, operator: string) => ValueSources; getRuleDefaultValue: (rule: RuleType) => any; } export declare const update: (query: RG, prop: UpdateableProperties, value: any, path: number[], { resetOnFieldChange, resetOnOperatorChange, getRuleDefaultOperator, getValueSources, getRuleDefaultValue, }?: Partial) => RG; export declare const remove: (query: RG, path: number[]) => RG; interface MoveOptions { clone: boolean; combinators: NameLabelPair[] | OptionGroup[]; } export declare const move: (query: RG, oldPath: number[], newPath: number[], { clone, combinators }?: Partial) => RG; export {};