/** * Sends a message to an inbox. */ export declare const message: (settings: { recipient: string; type: string; data?: { [key: string]: any; }; maxAttempts?: number; senderId?: string; }) => void; /** * Register and hookup an inbox. * @param name - the name of the inbox * @param inbox - the function that will handle the inboxes incoming messages * @returns inbox UID */ export declare const hookup: (name: string, inbox: Function) => string; /** * Disconnect an inbox. * @param inboxId - the UID of the inbox */ export declare const disconnect: (inboxId: string) => void; /** * Send a reply message. */ export declare const reply: (settings: { replyId: string; type: string; data?: { [key: string]: any; }; maxAttempts?: number; senderId?: string; }) => void; /** * Send a reply to the sender and all original recipients. */ export declare const replyAll: (settings: { replyId: string; type: string; data?: { [key: string]: any; }; maxAttempts?: number; senderId?: string; }) => void;