import { approveChannelPairing } from "./pairing-service.js";
//#region src/channels/pairing/approve-cli.ts
function approveChannelPairingFromCli(params) {
	const result = approveChannelPairing({
		channel: params.channel,
		accountId: params.accountId,
		code: params.code
	});
	if (result.ok === false) return result;
	return {
		ok: true,
		senderId: result.senderId
	};
}
//#endregion
export { approveChannelPairingFromCli };

//# sourceMappingURL=approve-cli.js.map