@amplitude/analytics-core
Version:
10 lines • 459 B
TypeScript
import { Transport } from '../types/transport';
import { Status } from '../types/status';
import { Payload } from '../types/payload';
import { Response } from '../types/response';
export declare class BaseTransport implements Transport {
send(_serverUrl: string, _payload: Payload): Promise<Response | null>;
buildResponse(responseJSON: Record<string, any>): Response | null;
buildStatus(code: number): Status;
}
//# sourceMappingURL=base.d.ts.map