import { CrossDatasetReferenceSchemaType, ReferenceFilterSearchOptions } from '@sanity/types';
import { Observable } from 'rxjs';
import { SanityClient } from '@sanity/client';
interface SearchHit {
    id: string;
    type: string;
    published: undefined | {
        _id: string;
        _type: string;
    };
}
export declare function search(client: SanityClient, textTerm: string, type: CrossDatasetReferenceSchemaType, options: ReferenceFilterSearchOptions): Observable<SearchHit[]>;
export {};
//# sourceMappingURL=search.d.ts.map