import { r as DaoCoreConfig } from "./types.daocore-kp8IyikH.js";
import { S as MarkdownTableMode } from "./types.base-tQh4FMBR.js";
import { t as OutboundMediaAccess } from "./load-options-CTuppEe4.js";
import { f as ChunkMode } from "./outbound.types-B2wXms-j.js";
import { t as RequestClient } from "./rest-CE8PF7Nu.js";
import { d as DiscordComponentBuildResult, h as DiscordComponentMessageSpec } from "./components-D9TlXmrM.js";
import { v as DiscordSendResult } from "./send.types-D_3tsfSL.js";

//#region extensions/discord/src/send.components.d.ts
type DiscordComponentSendOpts = {
  cfg: DaoCoreConfig;
  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 };