// Copyright © 2022-2026 Partium, Inc. DBA Partium /** * @deprecated Since temporary-search is deprecated, this config is also not needed anymore. */ export declare enum SEARCH_DOMAINS { PART = "entity", /** using SEARCH_DOMAINS.DOCUMENT will not lead to any results, because this feature was removed from the backend */ DOCUMENT = "document" } /** * @deprecated Since temporary-search is deprecated, this config is also not needed anymore. */ export declare enum SEARCH_TYPE { FUZZY = "fuzzy", EXACT = "exact" } /** * Types of possible temporary search results * * @deprecated Since temporary-search is deprecated, this config is also not needed anymore. */ export declare enum TEMPORARY_SEARCH_TYPE { RECENT_SEARCH_QUERIES = 0, /** @deprecated quick text search is deprecated and will be replaced in the future */ QUICK_TEXT_SEARCH = 1 } /** * Search-configuration for a text search. * Allows overriding text search default behavior * * @deprecated Since temporary-search is deprecated, this config is also not needed anymore. */ export declare class TextSearchConfig { /** * Quicktext search - domains to search in */ domains: SEARCH_DOMAINS[]; /** * Quicktext limit - how many items the result should max contain */ limit: number; /** * Quicktext search - search type to use */ searchType: SEARCH_TYPE; /** * Quicktext fuzziness - * configuration-parameter only used for search-type FUZZY. Specify a number or AUTO:[low],[high] (=high = fuzziness 2) */ fuzziness: string; /** * defines the temporary search types to use for the temporary text search. * this affects what kind of search is performed and the temporary text search results. */ temporarySearch: TEMPORARY_SEARCH_TYPE[]; constructor(init?: Partial); }