import type { SearchProvider, SearchResult, SearchOptions, IndexableItem } from "./types.js"; export interface RemoteSearchProviderOptions { baseUrl: string; /** * Extra headers sent with every request. Supports any auth scheme: * { "Authorization": "Bearer " } — standard bearer * { "x-api-key": "key" } — API key header * { "x-harness-token": "svc", "x-tenant": "..." } — internal service mesh */ headers?: Record; timeoutMs?: number; } export declare class RemoteSearchProvider implements SearchProvider { private available; private initError; private readonly baseUrl; private readonly extraHeaders; private readonly timeoutMs; constructor(options: RemoteSearchProviderOptions); initialize(): Promise; getInitError(): string | undefined; isAvailable(): boolean; evictExpired(): void; search(query: string, options?: SearchOptions): Promise; index(item: IndexableItem): Promise; private doFetch; } //# sourceMappingURL=remote-provider.d.ts.map