import type { FetchOptions } from 'ofetch'; import type { Strapi5ResponseSingle, Strapi5RequestParams, Strapi5ResponseMany } from '../types/v5.js'; interface StrapiV5Client { find(contentType: string, params?: Strapi5RequestParams, fetchOptions?: FetchOptions): Promise>; findOne(contentType: string, documentId: string, params?: Omit, 'filters'>, fetchOptions?: FetchOptions): Promise>; create(contentType: string, data: Partial, params?: Omit, 'filters'>): Promise>; update(contentType: string, documentId: string | Partial, data?: Partial, params?: Omit, 'filters'>): Promise>; delete(contentType: string, documentId?: string, params?: Pick, 'locale'>): Promise; } export declare const useStrapi: () => StrapiV5Client; export {};