UNPKG

autumn-js

Version:
12 lines (9 loc) 612 B
import * as _tanstack_react_query from '@tanstack/react-query'; import { a as ListPlansList } from '../list-plans-op-Cwb5iIdA.js'; import { t as ClientListPlansParams } from '../params-B-1vi9za.js'; import { AutumnClientError } from '../client/AutumnClientError.js'; import { HookParams } from './types.js'; import '../plan-CUExbmy9.js'; type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>; declare const useListPlans: (params?: UseListPlansParams) => _tanstack_react_query.UseQueryResult<NoInfer<ListPlansList[]>, AutumnClientError>; export { type UseListPlansParams, useListPlans };