import { Field, Matcher, Option } from '../../../../../../../src/types'; interface OptionsElements { resetEditFields: () => void; removeOption: (option: Option) => void; textChange: (newText: string, selectOption: (option?: Option | '(' | ')', optionTo?: Option) => void, onInsertMatcher?: (matcher: Matcher) => void) => string; matchedText: string | null; flattenedOptions: Option[]; matchedField: Option | null; operator: string | null; comparison: string | null; setComparison: (comparison: string | null) => void; setOperator: (operator: string | null) => void; selectField: (field: Option | null) => void; } export declare const useOptionsBuilder: (matcher?: Matcher, field?: Field | null) => OptionsElements; export {};