import { i as OpenClawConfig } from "./types.openclaw-lNZZW1-s.js";
import { S as MarkdownTableMode } from "./types.base-CHBd0Ld2.js";
import { t as OutboundMediaAccess } from "./load-options-CQixiFLj.js";
import { f as ChunkMode } from "./outbound.types-DgyC1tcQ.js";
import { t as RequestClient } from "./rest-BmBFJ53F.js";
import { d as DiscordComponentBuildResult, h as DiscordComponentMessageSpec } from "./components-DojwPN6V.js";
import { v as DiscordSendResult } from "./send.types-BAnpoX_i.js";

//#region extensions/discord/src/send.components.d.ts
type DiscordComponentSendOpts = {
  cfg: OpenClawConfig;
  accountId?: string;
  token?: string;
  rest?: RequestClient;
  silent?: boolean;
  replyTo?: string;
  sessionKey?: string;
  agentId?: string;
  mediaUrl?: string;
  mediaAccess?: OutboundMediaAccess;
  mediaLocalRoots?: readonly string[];
  mediaReadFile?: (filePath: string) => Promise<Buffer>;
  filename?: string;
  textLimit?: number;
  maxLinesPerMessage?: number;
  tableMode?: MarkdownTableMode;
  chunkMode?: ChunkMode;
  suppressEmbeds?: boolean;
};
declare function registerBuiltDiscordComponentMessage(params: {
  buildResult: DiscordComponentBuildResult;
  messageId: string;
  ttlMs?: number;
}): void;
declare function sendDiscordComponentMessage(to: string, spec: DiscordComponentMessageSpec, opts: DiscordComponentSendOpts): Promise<DiscordSendResult>;
declare function editDiscordComponentMessage(to: string, messageId: string, spec: DiscordComponentMessageSpec, opts: DiscordComponentSendOpts): Promise<DiscordSendResult>;
//#endregion
export { registerBuiltDiscordComponentMessage as n, sendDiscordComponentMessage as r, editDiscordComponentMessage as t };