import { type InferOutput, type ObjectSchema } from "valibot"; export function queryApi>(props: { lang?: string; origin: string | undefined; path: string; schema?: U; }): { queryFn: () => Promise>; queryKey: string[] }; export function useApi>(routeType: { outputs: { 200: U }; }): { data?: InferOutput; error?: unknown };