import { ApiContext } from "./types.js"; export interface RequestOptions { method?: "GET" | "POST" | "PATCH" | "PUT" | "DELETE"; body?: unknown; /** When true, the x-organization-id header is omitted (e.g. for the organizations list). */ withoutOrganization?: boolean; } /** Appends the given query parameters to a path, skipping undefined values. */ export declare function withQuery(path: string, params: Record): string; export declare function apiRequest(context: ApiContext, path: string, options?: RequestOptions): Promise;