import { type BotConfig } from "../config/config.js"; import { type SignalTextStyleRange } from "./format.js"; export type SignalSendOpts = { cfg?: BotConfig; baseUrl?: string; account?: string; accountId?: string; mediaUrl?: string; mediaLocalRoots?: readonly string[]; maxBytes?: number; timeoutMs?: number; textMode?: "markdown" | "plain"; textStyles?: SignalTextStyleRange[]; }; export type SignalSendResult = { messageId: string; timestamp?: number; }; export type SignalRpcOpts = Pick; export type SignalReceiptType = "read" | "viewed"; export declare function sendMessageSignal(to: string, text: string, opts?: SignalSendOpts): Promise; export declare function sendTypingSignal(to: string, opts?: SignalRpcOpts & { stop?: boolean; }): Promise; export declare function sendReadReceiptSignal(to: string, targetTimestamp: number, opts?: SignalRpcOpts & { type?: SignalReceiptType; }): Promise;