import type { JsonObject, JsonValue } from "@assemblyline-agents/core";
import type { ChannelDelivery, ChannelTurn } from "@assemblyline-agents/runtime";
export interface TeamsDestination {
serviceUrl?: string;
conversationId?: string;
activityId?: string;
}
export declare function teamsDestinationFromDelivery(delivery: ChannelDelivery): TeamsDestination;
export declare function teamsDestinationFromTurn(turn: ChannelTurn): TeamsDestination;
export declare function adaptiveCardAttachment(card: JsonObject): JsonObject;
/**
* Remove only Teams `…` mention wrappers. Everything else the user
* typed — ``, `Array`, pasted HTML — passes through
* unchanged so the agent sees the real message.
*/
export declare function sanitizeTeamsText(value: string): string;
export declare function teamsAttachments(activity: JsonObject): JsonObject[];
export declare function truncate(value: string, maxChars: number): string;
export declare function stringValue(value: unknown): string | undefined;
export declare function recordValue(value: unknown): JsonObject | undefined;
export declare function compactJsonObject(input: Record): JsonObject;
export declare function safeJson(value: unknown): JsonValue;
export declare function parseJson(response: Response): Promise;
//# sourceMappingURL=util.d.ts.map