import { QueryGroup } from './query-builder.component'; import * as i0 from "@angular/core"; export declare class QueryBuilderService { constructor(); /** * Converts a query group to a human-readable string * @param query The query group to convert * @returns A string representation of the query */ queryToString(query: QueryGroup): string; /** * Converts a query group to a JSON object that can be used in API requests * @param query The query group to convert * @returns A JSON object representation of the query */ queryToJson(query: QueryGroup): any; /** * Validates a query group to ensure all rules have valid values * @param query The query group to validate * @returns True if the query is valid, false otherwise */ isQueryValid(query: QueryGroup): boolean; /** * Creates an empty query group * @param condition The condition to use (and/or) * @returns An empty query group */ createEmptyQuery(condition?: 'and' | 'or'): QueryGroup; /** * Creates a simple query with a single rule * @param field The field to filter on * @param operator The operator to use * @param value The value to filter by * @returns A query group with a single rule */ createSimpleQuery(field: string, operator: string, value: any): QueryGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }