///
import { FirstPartyEndpoint } from '../endpoints/FirstPartyEndpoint';
import { ThirdPartyEndpoint } from '../endpoints/thirdPartyEndpoints';
import { Message } from './Message';
export declare class IncomingMessage extends Message {
type: string;
content: Buffer;
sender: ThirdPartyEndpoint;
recipient: FirstPartyEndpoint;
ack: () => Promise;
static receive(recipients: readonly FirstPartyEndpoint[]): AsyncIterable;
constructor(type: string, content: Buffer, sender: ThirdPartyEndpoint, recipient: FirstPartyEndpoint, ack: () => Promise);
}