import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
import { FilterType } from './filters.js';

interface FilterState {
    type: FilterType;
    isApplied: boolean;
    /**
     * Used when applying a filter. Returns the state to filter by in cases where the display value
     * differs from the actual filter value.
     */
    onValidate?: (
    /**
     * The current filter state.
     */
    filterState: FilterState, 
    /**
     * Whether the filter is a multi-select filter.
     */
    isMulti?: boolean) => FilterState | false;
    errorMessage?: string | undefined;
}
declare const Filter: ({ label, children, }: {
    label: string;
    children: React.ReactNode;
}) => _emotion_react_jsx_runtime.JSX.Element;

export { Filter, type FilterState };
