import { AdvantageMessage } from '../types'; export declare const ADVANTAGE: "ADVANTAGE"; /** * Sends a message and opens a message channel to receive the reply. * @param message - The message to send. * @param retryInterval - The interval (in milliseconds) between retry attempts. Default is 100ms. * @param maxAttempts - The maximum number of retry attempts. Default is 25. * @returns A promise that resolves with the reply and the message channel. */ export declare function sendMessageAndOpenChannel(message: Partial, retryInterval?: number, maxAttempts?: number): Promise<{ reply: AdvantageMessage; messageChannel: MessageChannel; }>; /** * Sends a message and awaits a response. * * @param message - The message to send. * @param messageChannel - The message channel to use for communication. * @param timeout - The timeout in milliseconds. * @returns A promise that resolves with the response message. */ export declare function sendMessageAndAwaitResponse(message: Partial, messageChannel: MessageChannel, timeout: number): Promise;