"use strict";
/**
 * Public entrypoint for `node-telegram-bot-api`.
 *
 * Provides:
 *   - The {@link TelegramBot} class (default export, for legacy compatibility).
 *   - Polling and Webhook helper classes (advanced use).
 *   - The full set of generated request/reply types (from scripts/api-parser.ts).
 *   - The error hierarchy.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpClient = exports.TelegramBotWebHook = exports.TelegramBotPolling = exports.TelegramBot = void 0;
var telegram_js_1 = require("./telegram.cjs");
Object.defineProperty(exports, "TelegramBot", { enumerable: true, get: function () { return telegram_js_1.TelegramBot; } });
var polling_js_1 = require("./polling.cjs");
Object.defineProperty(exports, "TelegramBotPolling", { enumerable: true, get: function () { return polling_js_1.TelegramBotPolling; } });
var webhook_js_1 = require("./webhook.cjs");
Object.defineProperty(exports, "TelegramBotWebHook", { enumerable: true, get: function () { return webhook_js_1.TelegramBotWebHook; } });
var http_js_1 = require("./http.cjs");
Object.defineProperty(exports, "HttpClient", { enumerable: true, get: function () { return http_js_1.HttpClient; } });
__exportStar(require("./errors.cjs"), exports);
__exportStar(require("./types/index.cjs"), exports);
const telegram_js_2 = require("./telegram.cjs");
exports.default = telegram_js_2.TelegramBot;
//# sourceMappingURL=index.cjs.map