import { p as paths } from '../types.cloud.d-yKv9urUv.js'; import { ClientOptions } from 'openapi-fetch'; import { createQueryHook, createImmutableHook, createInfiniteHook, createMutateHook } from 'swr-openapi'; type NetdataCloudPaths = paths; /** * Creates SWR hooks that speak to the Netdata Cloud API. * Quick start: * const swr = createCloudSWR({ baseUrl: "https://app.netdata.cloud" }); * const { data } = swr.useQuery("/api/v3/spaces"); */ declare function createCloudSWR(options?: ClientOptions): { useQuery: ReturnType>; useImmutable: ReturnType>; useInfinite: ReturnType>; useMutate: ReturnType>; }; export { type NetdataCloudPaths, createCloudSWR as default };