//#region src/gateway/clarify-runtime.ts
let bridgeRef = null;
function registerClarifyBridge(bridge) {
	bridgeRef = bridge;
}
function submitClarifyResponseFromChannel(requestId, answer) {
	return bridgeRef?.handleResponse(requestId, answer) ?? false;
}
function submitClarifyChoiceFromChannel(requestId, choiceIndex) {
	return bridgeRef?.handleChoiceCallback(requestId, choiceIndex) ?? false;
}
function tryConsumeTelegramClarifyFreeText(sessionKey, text) {
	return bridgeRef?.tryConsumeFreeTextReply(sessionKey, text) ?? false;
}
//#endregion
export { registerClarifyBridge, submitClarifyChoiceFromChannel, submitClarifyResponseFromChannel, tryConsumeTelegramClarifyFreeText };

//# sourceMappingURL=clarify-runtime.js.map