import { QueryParams } from 'fastapi-rtk/api-types'; import { FetchOptions } from './types'; /** * Fetches items from the specified path. * * @param path - The API endpoint path to fetch items from. * @param queryParams - An object containing query parameters to be sent with the request. * @param options - Additional fetch options such as headers. * @returns A promise that resolves to the fetched data, either as a JSON object or a text string. * @throws {Error} - Throws an error if the response is not ok or if there is an issue with the fetch request. */ export declare const getItems: (path: string, queryParams?: QueryParams, options?: FetchOptions) => Promise;