import { TermEntity, FetchResponse, TaxonomyArchiveParams } from '@10up/headless-core'; import { FetchHookOptions } from '@10up/headless-core/react'; /** * The useTerms hook. Returns a collection of term entities * * ## Usage * * ```tsx * const { loading, data } = useTerms({ taxonomy: 'category', slug: 'cat-name' }); * ``` * * @param params The parameters accepted by the hook * @param options Options for the SWR configuration * * @category Data Fetching Hooks */ export declare function useTerms(params?: Partial

, options?: FetchHookOptions>): import("@10up/headless-core/react").useTermsResponse; /** * @internal */ export declare namespace useTerms { const fetcher: (sourceUrl?: string | undefined, defaultParams?: P | undefined) => import("@10up/headless-core").TaxonomyTermsStrategy; }