import type { SearchableType } from '@sanity/base'; import type { ObjectSchemaType, Schema } from '@sanity/types'; /** * Returns a list of all available document types filtered by a search string. * Types containing the search string in its `title` or `name` will be returned. */ export declare function getSelectableOmnisearchTypes(schema: Schema, typeFilter: string): SearchableType[]; /** * Return all searchable document types that are visible to omnisearch. * Documents with `__experimental_omnisearch_visibility: false` will be hidden. */ export declare function getSearchableOmnisearchTypes(schema: Schema): ObjectSchemaType[]; export declare function sortTypes(a: SearchableType, b: SearchableType): number; //# sourceMappingURL=selectors.d.ts.map