import * as State from "./type/State"; import { Translator } from "~/locale/useTranslation"; export declare type ReadyToDisplay = State.WithItems | State.RemoveConfirmation | State.Removing; export declare type Editable = State.WithItems | State.Removing | State.RemoveConfirmation | State.Fetching | State.ItemsNotFound; export declare type WithoutItems = State.Empty | State.Init | State.LoadError; declare type InitOrFetching = State.Init | State.Fetching; export declare const isEditable: (v: State.State) => v is State.Fetching | State.WithItems | State.ItemsNotFound | State.RemoveConfirmation | State.Removing; export declare const isReadyToDisplay: (v: State.State) => v is State.WithItems | State.RemoveConfirmation | State.Removing; export declare const isLoading: (v: State.State) => v is State.Init | State.LoadError; export declare const isWithoutItems: (v: State.State) => v is State.Init | State.LoadError | State.Empty; export declare const isInitOrFetching: (v: State.State) => v is State.Init | State.Fetching; export declare const isWithItemsOrFetching: (v: State.State) => v is State.Fetching | State.WithItems; export declare const isSearchable: (v: State.State) => v is State.Fetching | State.WithItems | State.ItemsNotFound; export declare const USERS_SINGULAR: (t: Translator) => string; export declare const USERS_PLURAL: (t: Translator) => string; export declare const searchIsFocusedOrInit: (s: InitOrFetching) => boolean; export {};