import { t as isApprovalNotFoundError } from "./approval-errors-DaOTGqJF.js";
import "./error-runtime-PJcj3Q5M.js";
import { t as resolveApprovalOverGateway } from "./approval-gateway-resolver-iEGW-yh2.js";
import "./approval-gateway-runtime-kZL4yMuX.js";
//#region extensions/imessage/src/approval-resolver.ts
async function resolveIMessageApproval(params) {
	await resolveApprovalOverGateway({
		cfg: params.cfg,
		approvalId: params.approvalId,
		decision: params.decision,
		senderId: params.senderId,
		gatewayUrl: params.gatewayUrl,
		clientDisplayName: `iMessage approval (${params.senderId?.trim() || "unknown"})`
	});
}
//#endregion
export { isApprovalNotFoundError, resolveIMessageApproval };
