import { CreateRESTfulSWRParams, RESTfulSWR } from './types'; /** * Create RESTful SWR hooks for managing a collection & resource. * * This is the core entrypoint of the package. The function returns two hooks, * `useSWRResource` & `useSWRCollection`, that work with SWR to keep the * resources in sync between the individual resources & the root collection. * * @template RT Resource type * @template CT Collection type * @template LP List params * @template CP Create params * @template UP Update params * @returns RESTful SWR hooks */ export declare const createRESTfulSWR: ({ adapter, useRestClient, }: CreateRESTfulSWRParams) => RESTfulSWR;