import { s as FilterType } from "../../filters-BU7W0nI5.js";
import { n as FilterState } from "../../Filter-CONTB5-s.js";
import * as _$_emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";

//#region src/components/DataManagerTable/IdFilter.d.ts
declare const DEFAULT_ERROR_MESSAGE = "Please ensure ID is formatted correctly, e.g. \"User:01896631-99e6-04f8-0000-6df5455fabcd\"";
interface IdFilterState extends FilterState {
  type: FilterType.ID;
  /**
   * The value of the text input.
   */
  value: string;
  /**
   * The applied values of the filter.
   */
  appliedValues?: string[] | undefined;
  /**
   * The allowed entities that the ID can be prefixed with.
   */
  allowedEntities?: string[];
}
declare const isIdFilterState: (state: FilterState) => state is IdFilterState;
declare const getDefaultIdFilterState: (allowedEntities?: string[]) => {
  type: FilterType;
  value: string;
  errorMessage: string;
  allowedEntities: string[] | undefined;
  isApplied: boolean;
  onValidate: (filterState: IdFilterState, isMulti?: boolean) => false | {
    type: FilterType.ID;
    /**
     * The value of the text input.
     */
    value: string;
    /**
     * The applied values of the filter.
     */
    appliedValues?: string[] | undefined;
    /**
     * The allowed entities that the ID can be prefixed with.
     */
    allowedEntities?: string[];
    isApplied: boolean;
    onValidate?: (filterState: FilterState, isMulti?: boolean) => FilterState | false;
    errorMessage?: string | undefined;
  };
};
declare const IdFilter: ({
  updateFilterState,
  state,
  placeholder,
  label
}: {
  updateFilterState: (state: IdFilterState) => void;
  state: IdFilterState;
  label: string;
  placeholder?: string | undefined;
}) => _$_emotion_react_jsx_runtime0.JSX.Element;
//#endregion
export { DEFAULT_ERROR_MESSAGE, IdFilter, IdFilterState, getDefaultIdFilterState, isIdFilterState };