import { UseQueryOptions } from '@tanstack/react-query'; import { IPlansResponseSchema } from '../../types/plans.types'; import { IPaginatedResults } from '../../types/types'; /** * Plans query definitions following React Query patterns */ export declare const plansQueries: { all: () => readonly ["plans"]; lists: () => readonly ["plans", "list"]; details: () => readonly ["plans", "detail"]; detail: (id: string) => readonly ["plans", "detail", string]; }; /** * Fetch a plan by its ID * @description This hook is used to fetch a plan by its ID * @param planId - The ID of the plan to fetch * @returns Query methods for getting plan details */ export declare const usePlanById: (planId: string, options?: Omit, "queryKey" | "queryFn">) => import('@tanstack/react-query').UseQueryResult; export declare const usePlans: (options?: Omit, Error, IPaginatedResults, readonly string[]>, "queryKey" | "queryFn">) => import('@tanstack/react-query').UseQueryResult, Error>;