import type { AgentClient } from '../agent.js';
import type { InboxResponse, MessageWithMeta, SendDmResponse } from '../types.js';
import type { MessageCallback, RelayLike } from './types.js';
export declare class Relay implements RelayLike {
    readonly agents: AgentClient;
    constructor(agent: AgentClient);
    post(channel: string, text: string): Promise<MessageWithMeta>;
    send(toAgent: string, text: string): Promise<SendDmResponse>;
    reply(messageId: string, text: string): Promise<MessageWithMeta>;
    inbox(): Promise<InboxResponse>;
    onMessage(cb: MessageCallback): () => void;
}
//# sourceMappingURL=relay.d.ts.map