export interface IMailbox { deliver(msg: T): Promise; receive(): Promise; } export declare const mailbox: () => IMailbox;