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

interface StringFilterState extends FilterState {
    type: FilterType.STRING;
    /**
     * The value of the text input.
     */
    value: string;
    /**
     * The applied values of the filter.
     */
    appliedValues?: string[] | undefined;
}
declare const isStringFilterState: (state: FilterState) => state is StringFilterState;
declare const getDefaultStringFilterState: () => {
    type: FilterType;
    value: string;
    isApplied: boolean;
};
declare const StringFilter: ({ updateFilterState, state, placeholder, label, }: {
    updateFilterState: (state: StringFilterState) => void;
    state: StringFilterState;
    label: string;
    placeholder?: string | undefined;
}) => _emotion_react_jsx_runtime.JSX.Element;

export { StringFilter, type StringFilterState, getDefaultStringFilterState, isStringFilterState };
