import { RequiredConfig } from "./config"; import { ResponseHandler } from "./response"; import { type RetryOptions } from "./retry"; import { RunOptions, UrlOptions } from "./types/common"; type RequestOptions = { responseHandler?: ResponseHandler; /** * Retry configuration for this specific request. * If not specified, uses the default retry configuration from the client config. */ retry?: Partial; }; type RequestParams = { method?: string; targetUrl: string; input?: Input; config: RequiredConfig; options?: RequestOptions & RequestInit; headers?: Record; }; export declare function dispatchRequest(params: RequestParams): Promise; /** * Builds the final url to run the function based on its `id` or alias and * a the options from `RunOptions`. * * @private * @param id the function id or alias * @param options the run options * @returns the final url to run the function */ export declare function buildUrl(id: string, options?: RunOptions & UrlOptions): string; export {};