import { p as paths } from '../types.agent.d-BStum13K.js'; import { ClientOptions } from 'openapi-fetch'; import { createQueryHook, createImmutableHook, createInfiniteHook, createMutateHook } from 'swr-openapi'; type NetdataAgentPaths = paths; /** * Creates SWR hooks that speak to the Netdata Agent API. * Quick start: * const swr = createAgentSWR({ baseUrl: "http://localhost:19999" }); * const { data } = swr.useQuery("/api/v3/nodes"); */ declare function createAgentSWR(options?: ClientOptions): { useQuery: ReturnType>; useImmutable: ReturnType>; useInfinite: ReturnType>; useMutate: ReturnType>; }; export { type NetdataAgentPaths, createAgentSWR as default };