import { fetchAdapter, GenericIndex } from '../types/types.js'; import DrupalState from '../DrupalState.js'; import 'http'; import 'jsona/lib/JsonaTypes'; import 'drupal-jsonapi-params'; import 'zustand/vanilla'; /** * Get an index of resource links for the API * @param apiRoot url to the root of JSON:API * @param fetch fetch compatible function * @returns a promise containing an object with an index of resource links */ declare const fetchApiIndex: (apiRoot: string, fetch?: fetchAdapter, onError?: DrupalState['onError']) => Promise; export { fetchApiIndex as default };