/**
 * Route messages to the correct destination.
 */
import { type TAddress, type TClientId } from '@flux/shared/types';
export declare class OutgoingMessageRouter {
    private readonly passToLocalClientOrThrowUnknownClient;
    private readonly processId;
    private readonly machineAddress;
    private readonly redisConnection;
    constructor(passToLocalClientOrThrowUnknownClient: (clientId: TClientId, message: string) => void);
    /**
     * Routes a message to the correct destination.
     *
     * @param { TAddress } address - The destination address
     * @param { string } message - The message to route
     */
    message(address: TAddress, message: string): void;
}
