export interface SearchIndexBulkEntry { source: "local" | "external"; sourceProvider?: string | null; sourceRef?: Record | null; localCruiseId?: string | null; slug: string; name: string; cruiseType: "ocean" | "river" | "expedition" | "coastal"; lineName: string; shipName: string; nights: number; embarkPortName?: string | null; disembarkPortName?: string | null; regions?: string[]; themes?: string[]; earliestDeparture?: string | null; latestDeparture?: string | null; departureCount?: number | null; lowestPriceCents?: number | null; lowestPriceCurrency?: string | null; salesStatus?: string | null; heroImageUrl?: string | null; } /** * Storefront search-index admin actions. Adapters call `bulkUpsert` to push * external entries; operators trigger `rebuildAll` to repair drift across * both local and external sources. */ export declare function useSearchIndexMutation(): { bulkUpsert: import("@tanstack/react-query").UseMutationResult<{ upserted: number; }, Error, SearchIndexBulkEntry[], unknown>; remove: import("@tanstack/react-query").UseMutationResult; rebuildAll: import("@tanstack/react-query").UseMutationResult<{ localUpserted: number; externalUpserted: number; externalErrors: { adapter: string; error: string; }[]; }, Error, void, unknown>; };