/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { ReactElement } from "react"; import { Classnames, Field as Field$1, FullCombinator, FullField, FullOperator, QueryBuilderProps as QueryBuilderProps$1, RuleGroupType as RuleGroupType$1, ValueEditorProps } from "react-querybuilder"; import { LiteralUnion } from "type-fest"; //#region src/components/query-builder/types.d.ts /** Re-export of RuleGroupType from react-querybuilder. */ type RuleGroupType = RuleGroupType$1; /** Re-export of Field from react-querybuilder. */ type Field = Field$1; /** Default QueryBuilder props with full field, operator, and combinator types. */ type DefaultRQBProps = QueryBuilderProps$1; /** * Map of value editor types to their React component implementations. * * TODO: need to add multiselect back in when we have a compatible component */ type QueryBuilderValueEditors = Record, string>, (props: ValueEditorProps) => ReactElement>; /** * Omitted props are currently unsupported functionality */ type QueryBuilderProps = Partial & { orientation?: 'horizontal' | 'vertical'; showRuleLines?: boolean; }>; /** * Omitted classnames are for unsupported features */ type ClassNames = Omit; /** Context value for QueryBuilder containing display settings. */ type QueryBuilderContextType = Pick; //#endregion export { ClassNames, DefaultRQBProps, Field, QueryBuilderContextType, QueryBuilderProps, QueryBuilderValueEditors, RuleGroupType }; //# sourceMappingURL=types.d.ts.map