import { t as isApprovalNotFoundError } from "./approval-errors-jZk8oWed.js";
import "./error-runtime-C5xfCk0D.js";
import { t as resolveApprovalOverGateway } from "./approval-gateway-runtime-DC6ZuLG4.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 };
