import type { MessageElem, Sendable } from "@icqqjs/icqq/lib/message"; import type { CommonTypes } from "onebots"; import type { ICQQMessageElement } from "./types.js"; /** 将通用消息段严格编译为 ICQQ Sendable;不静默丢弃未知段。 */ export declare function compileICQQMessage(message: readonly CommonTypes.Segment[]): Array; /** 将 ICQQ 消息元素保真投影;未知元素使用 icqq_raw 而非占位文本。 */ export declare function projectICQQMessageSegments(message: ReadonlyArray): CommonTypes.Segment[]; export declare function compileICQQReply(message: string | ICQQMessageElement[]): Sendable; export declare function resolveICQQMediaSource(data: Readonly>, segmentType: string): string | Buffer; //# sourceMappingURL=messages.d.ts.map