import { type APIEnvironment } from "./config"; type FetchApiOptions = { path: string; environment?: APIEnvironment; options?: RequestInit; }; export type APIError = { path: string; statusCode: number; status: string; message: string; }; export type APIResponse = { data?: T; error?: APIError; }; export declare function fetchApi(opts: FetchApiOptions): Promise>; export {};