import { BuiltInParamValues } from "./builtins"; import { ClientOptions } from "../api/client"; import { BuiltInRun } from "../api/types"; export type Method = "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; export type BodyType = "json" | "raw" | "form-data" | "x-www-form-urlencoded"; export type RequestOutput> = { status_code: number; response: TResponse; }; export type RequestOptions = { headers?: Record | null; urlParams?: Record | null; bodyType?: BodyType | null; body?: Record | string | null; formData?: Record | null; retryFailures?: boolean; client?: ClientOptions; }; export declare const request: >(restResource: string, method: Method, path: string, opts?: RequestOptions) => Promise>>;