/* eslint-disable @typescript-eslint/no-explicit-any */import { type TRPCClientErrorLike } from "@trpc/client"import { type DecorateProcedure, type UseTRPCQueryResult,} from "@trpc/react-query/shared"import { type AnyTRPCQueryProcedure, type inferProcedureInput,} from "@trpc/server"type ExtendedProcedure<T extends AnyTRPCQueryProcedure> = { _def: { $values: { input: T["_def"]["$types"]["input"] output: T["_def"]["$types"]["output"] transformer: any errorShape: any } }} & Texport function useLazySuspenseQuery< T extends ExtendedProcedure<AnyTRPCQueryProcedure>, TDef extends T["_def"]["$values"],>( path: DecorateProcedure<"query", T["_def"]["$values"]>, input: inferProcedureInput<T>): UseTRPCQueryResult<TDef["output"], TRPCClientErrorLike<TDef>> { return path.useQuery(input)}