import { IncomingMessage } from "http";
import { SendOptions } from "./types";
export declare function sendBatch(options: SendOptions): Promise<IncomingMessage>;
/**
 * Transport implementation that sends error to Raygun.
 * Errors are reported back via callback.
 * @param options - without callback
 * @param path - service endpoint
 * @returns Promise with IncomingMessage or rejected with Error
 */
export declare function send(options: SendOptions, path?: string): Promise<IncomingMessage>;
