/**
* Hard inline delivery for Web / Portal (`/m/chat`, macOS·iOS shells) / TUI.
*
* IM channels may summarize + Viewer-link. These surfaces already render
* full markdown — summary-only replies (envelope or 「落盘+要点」) are
* expanded at the delivery boundary so the user always sees the body.
* This does not depend on AGENTS.md / prompt compliance.
*/
/** Safety cap so a huge on-disk dump cannot blow the WS / session row. */
export declare const INLINE_DELIVERY_MAX_CHARS = 400000;
export declare function needsFullInlineDelivery(platform: string): boolean;
export declare function resolveArchivedMarkdownPath(workspaceRoot: string, relOrPath: string): string | null;
export interface ExpandInlineOpts {
/** Agent workspace root for resolving relative archive paths. */
workspaceRoot?: string;
/** Test seam — override filesystem reads. */
readFile?: (absPath: string) => string | null;
}
/**
* Expand summary-only shapes into the full body for inline channels.
*
* 1. `……` → deliver full-md
* 2. 「报告已落盘:path.md」+ short chat → append file contents when longer
*/
export declare function expandInlineChannelReply(text: string, opts?: ExpandInlineOpts): string;
//# sourceMappingURL=inline-delivery.d.ts.map