"use strict";
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.ConnectorError = exports.IntegrationError = exports.GrpcClient = exports.types = exports.UniffiClient = void 0;
// Re-export client classes flat (high-level API)
__exportStar(require("./payments/_generated_connector_client_flows"), exports);
var _generated_uniffi_client_flows_1 = require("./payments/_generated_uniffi_client_flows");
Object.defineProperty(exports, "UniffiClient", { enumerable: true, get: function () { return _generated_uniffi_client_flows_1.UniffiClient; } });
__exportStar(require("./http_client"), exports);
__exportStar(require("./payments/generated/proto"), exports);
// Re-export types namespace explicitly for both runtime and type access
var proto_1 = require("./payments/generated/proto");
Object.defineProperty(exports, "types", { enumerable: true, get: function () { return proto_1.types; } });
// gRPC client (Rust-backed via hyperswitch_grpc_ffi native library)
var grpc_client_1 = require("./payments/grpc_client");
Object.defineProperty(exports, "GrpcClient", { enumerable: true, get: function () { return grpc_client_1.GrpcClient; } });
// Export error classes
var connector_client_1 = require("./payments/connector_client");
Object.defineProperty(exports, "IntegrationError", { enumerable: true, get: function () { return connector_client_1.IntegrationError; } });
Object.defineProperty(exports, "ConnectorError", { enumerable: true, get: function () { return connector_client_1.ConnectorError; } });
// ---------------------------------------------------------------------------
// Domain namespaces — runtime values
// Usage: import { payments, payment_methods, configs } from '@juspay/connector-service-sdk';
//        const config: configs.IConnectorConfig = { ... };
//        const client = new ConnectorClient(identity);
// ---------------------------------------------------------------------------
//# sourceMappingURL=index.js.map