import { InlineKeyboard } from "grammy";
//#region extensions/telegram/src/inline-keyboards.ts
/**
* Telegram Inline Keyboards
*/
var TelegramInlineKeyboards = class {
	static modelSelector(models, currentModel) {
		const keyboard = new InlineKeyboard();
		for (const model of models) {
			const label = model.id === currentModel ? `✅ ${model.name}` : model.name;
			keyboard.text(label, `model:${model.id}`).row();
		}
		keyboard.text("❌ Cancel", "cancel");
		return keyboard;
	}
	static providerSelector(providers) {
		const keyboard = new InlineKeyboard();
		for (const provider of providers) keyboard.text(provider.name, `provider:${provider.id}`).row();
		keyboard.text("❌ Cancel", "cancel");
		return keyboard;
	}
	static cleanupConfirm() {
		return new InlineKeyboard().text("🗑️ Archive sessions older than 30 days", "cleanup:confirm").row().text("❌ Cancel", "cancel");
	}
	static back() {
		return new InlineKeyboard().text("⬅️ Back", "providers").row().text("❌ Cancel", "cancel");
	}
	static confirm(confirmLabel = "✅ Confirm", confirmData = "confirm") {
		return new InlineKeyboard().text(confirmLabel, confirmData).row().text("❌ Cancel", "cancel");
	}
};
//#endregion
export { TelegramInlineKeyboards };

//# sourceMappingURL=inline-keyboards.js.map