import { StructuralSharingOption, ValidateSelected } from './structuralSharing.cjs'; import { AnyRouter, RegisteredRouter, ResolveUseSearch, StrictOrFrom, ThrowConstraint, ThrowOrOptional, UseSearchResult } from '@tanstack/router-core'; export interface UseSearchBaseOptions { select?: (state: ResolveUseSearch) => ValidateSelected; shouldThrow?: TThrow; } export type UseSearchOptions = StrictOrFrom & UseSearchBaseOptions & StructuralSharingOption; export type UseSearchRoute = (opts?: UseSearchBaseOptions & StructuralSharingOption) => UseSearchResult; export declare function useSearch(opts: UseSearchOptions, TSelected, TStructuralSharing>): ThrowOrOptional, TThrow>;