import type { InjectionKey, Ref } from 'vue'; /** Properties for adding search attributes to an advanced search input. These properties must * be passed in as an object within an array to the search input component's attribute property. */ export interface SearchAttribute { /** The search attribute's value to be provided in the search input's query string. * It should have no spaces and be unique for every attribute. */ attr: string; /** The search attribute's display name. It is used to label the field in the advanced * search menu. */ display: string; } export type SearchInputProvide = { /** Element wrapping the whole search input. */ $el: Readonly>; }; export declare const SearchInputKey: InjectionKey; /** Builds an attribute-value map by parsing the query string of a search input. Words not * paired with an attribute are collected under the `haswords` key. */ export declare function getAttrValueMap(value: string, delimiter?: string): Record; /** Builds the query string of a search input from an attribute-value map, quoting values that contain spaces. */ export declare function buildQueryString(attrValueMap: Record, delimiter?: string): string; //# sourceMappingURL=common.d.ts.map