import type { CSSResultArray, PropertyDeclarations, TemplateResult } from 'lit-element'; import type { Option, ConditionalOperator } from './types'; import { LitElement } from 'lit-element'; import { Operator, Type } from './types'; declare const Base: typeof LitElement & import("lit-element").Constructor & { inferredProperties: string[]; } & import("lit-element").Constructor & { defaultNS: string; } & { styles: CSSResultArray; } & import("lit-element").Constructor; /** * UI component for creating Foxy hAPI filters visually. Compatible with * Backend API, Customer API or any other API using the same format as described * in our [docs](https://api.foxy.io/docs/cheat-sheet). * * @element foxy-query-builder * @since 1.12.0 */ export declare class QueryBuilder extends Base { /** QueryBuilder dispatches this event on itself when value changes. */ static readonly ChangeEvent: { new (typeArg: string, eventInitDict?: CustomEventInit | undefined): { readonly detail: void; initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: void): void; readonly bubbles: boolean; cancelBubble: boolean; readonly cancelable: boolean; readonly composed: boolean; readonly currentTarget: EventTarget | null; readonly defaultPrevented: boolean; readonly eventPhase: number; readonly isTrusted: boolean; returnValue: boolean; readonly srcElement: EventTarget | null; readonly target: EventTarget | null; readonly timeStamp: number; readonly type: string; composedPath(): EventTarget[]; initEvent(type: string, bubbles?: boolean | undefined, cancelable?: boolean | undefined): void; preventDefault(): void; stopImmediatePropagation(): void; stopPropagation(): void; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }; }; /** Operator dictionary for use in autocomplete options. */ static readonly Operator: typeof Operator; /** Field type dictionary for use in autocomplete options. */ static readonly Type: typeof Type; /** Returns zoom value for a filter query. */ static zoom(value: string): string; static get properties(): PropertyDeclarations; static get styles(): CSSResultArray; /** Simple Mode will not show controls for these paths unless explicitly specified in options. */ reservedPaths: string[]; /** If true, doesn't add `zoom` query parameter for complex paths. */ disableZoom: boolean; /** If true, hides the UI for the "OR" operator in queries in the Advanced Mode. */ disableOr: boolean; /** List of operators available in the builder UI. When an operator is an object, it specifies the operator type and the paths it applies to. */ operators: (Operator | ConditionalOperator)[]; /** When provided, will display a documentation link in the Advanced Mode. */ docsHref: string | null; /** Filter options in Simple Mode and autocomplete suggestions in Advanced Mode. */ options: Option[] | null; private __isAdvancedMode; private __reportedValue; private __displayedValue; get value(): string | null; set value(newValue: string | null); render(): TemplateResult; private get __isSimpleModeSupported(); private get __simpleModeOptions(); } export {};