import { AuthClient } from "./types";
export interface RequestOptions extends Omit<RequestInit, "body"> {
    auth?: AuthClient;
    endpoint: string;
    params?: Record<string, any>;
    user_agent?: string;
    request_body?: Record<string, any>;
    method?: string;
    max_retries?: number;
    base_url?: string;
}
export declare function request({ auth, endpoint, params: query, request_body, method, max_retries, base_url, user_agent, headers, ...options }: RequestOptions): Promise<Response>;
export declare function rest<T = any>(args: RequestOptions): Promise<T>;
//# sourceMappingURL=request.d.ts.map