import { t as isApprovalNotFoundError } from "./approval-errors-DaOTGqJF.js";
import "./error-runtime-QyOWCKY5.js";
import { t as resolveApprovalOverGateway } from "./approval-gateway-resolver-C975QtWF.js";
import "./approval-gateway-runtime-C4VQXrKd.js";
//#region extensions/matrix/src/exec-approval-resolver.ts
async function resolveMatrixApproval(params) {
	await resolveApprovalOverGateway({
		cfg: params.cfg,
		approvalId: params.approvalId,
		decision: params.decision,
		senderId: params.senderId,
		gatewayUrl: params.gatewayUrl,
		clientDisplayName: `Matrix approval (${params.senderId?.trim() || "unknown"})`
	});
}
//#endregion
export { isApprovalNotFoundError, resolveMatrixApproval };
