///
import { Message } from "../stun/stun";
import { Candidate } from "../candidate";
export declare type Address = [string, number];
export declare type Protocol = {
localCandidate?: Candidate;
sentMessage?: Message;
sendStun: (request: Message, addr: Address) => void;
request: (message: Message, addr: Address, integrityKey?: Buffer, retransmissions?: any) => Promise<[Message, Address]>;
responseAddr?: Address;
responseMessage?: string;
close?: () => Promise;
sendData?: (data: Buffer, addr: Address) => Promise;
};