/* * 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 "client-only"; import * as react_jsx_runtime157 from "react/jsx-runtime"; import { RuleGroupProps, useRuleGroup } from "react-querybuilder"; //#region src/components/query-builder/rule-group.d.ts /** * RuleGroup - Container for organizing rules with a shared combinator * * Renders header with combinator selector and actions, body with rules, and footer with add actions. * * @example * ```tsx * * ``` * * @param props - RuleGroupProps from react-querybuilder. * @returns The rendered RuleGroup component. */ declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime157.JSX.Element; /** * Header section with combinator selector and group actions (clone, lock, remove) * * @example * ```tsx * * ``` * * @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value. * @returns The rendered header with combinator and action controls. */ declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType): react_jsx_runtime157.JSX.Element; /** * Footer section with add rule and add group actions * * @example * ```tsx * console.log('add rule')} * addGroup={() => console.log('add group')} * /> * ``` * * @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value. * @returns The rendered footer with add rule and add group buttons. */ declare function RuleGroupFooterComponent(ruleGroup: RuleGroupProps & ReturnType): react_jsx_runtime157.JSX.Element; //#endregion export { RuleGroup, RuleGroupFooterComponent, RuleGroupHeaderComponent }; //# sourceMappingURL=rule-group.d.ts.map