import { ShadowlessElement } from '@blockeditor/lit';
import type { ReferenceElement } from '@floating-ui/dom';
import type { Filter, Variable, VariableOrProperty } from '../ast.js';
declare const VariableRefView_base: typeof ShadowlessElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class VariableRefView extends VariableRefView_base {
    static styles: import("lit").CSSResult;
    data?: VariableOrProperty;
    setData: (filter: VariableOrProperty) => void;
    vars: Variable[];
    connectedCallback(): void;
    get field(): string | undefined;
    get fieldData(): Variable | undefined;
    get property(): string | undefined;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'variable-ref-view': VariableRefView;
    }
}
export declare const popCreateFilter: (target: ReferenceElement, props: {
    vars: Variable[];
    onSelect: (filter: Filter) => void;
    onClose?: (() => void) | undefined;
}) => void;
export {};
//# sourceMappingURL=ref.d.ts.map