import { Component } from "react";
import * as React from "react";
import type StructuredQuery from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/queries/StructuredQuery";
import type Filter from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/queries/structured/Filter";
type PillProps = {
    field: string;
    operator: string;
    values: string[];
};
export declare const filterWidgetFilterRenderer: ({ field, operator, values, }: PillProps) => import("react/jsx-runtime").JSX.Element;
type Props = {
    filter: Filter;
    query: StructuredQuery;
    updateFilter: (index: number, filter: any[]) => void;
    index: number;
    removeFilter: (index: number) => void;
};
type State = {
    isOpen: boolean;
};
/**
 * @deprecated use MLv2
 */
export declare class FilterWidget extends Component<Props, State> {
    rootRef: React.RefObject<HTMLDivElement>;
    constructor(props: Props);
    static defaultProps: {
        maxDisplayValues: number;
    };
    open: () => void;
    close: () => void;
    renderFilter(): import("react/jsx-runtime").JSX.Element;
    renderPopover(): import("react/jsx-runtime").JSX.Element | undefined;
    render(): import("react/jsx-runtime").JSX.Element;
}
export {};
