import type { FetchOptions } from 'ofetch'; import type { Strapi4Error } from '../types/v4.js'; import type { Strapi3Error } from '../types/v3.js'; export declare const useStrapiClient: () => (url: string, fetchOptions?: FetchOptions) => Promise; declare module '#app' { interface RuntimeNuxtHooks { 'strapi:error': (error: Strapi3Error | Strapi4Error) => void; } }