import { StructuralSharingOption, ValidateSelected } from './structuralSharing.cjs'; import { AnyRouter, RegisteredRouter, ResolveUseParams, StrictOrFrom, ThrowConstraint, ThrowOrOptional, UseParamsResult } from '@tanstack/router-core'; export interface UseParamsBaseOptions { select?: (params: ResolveUseParams) => ValidateSelected; shouldThrow?: TThrow; } export type UseParamsOptions = StrictOrFrom & UseParamsBaseOptions & StructuralSharingOption; export type UseParamsRoute = (opts?: UseParamsBaseOptions & StructuralSharingOption) => UseParamsResult; export declare function useParams(opts: UseParamsOptions, TSelected, TStructuralSharing>): ThrowOrOptional, TThrow>;