import { type Client, type ClientOptions } from 'openapi-fetch'; import { Addons } from './addons.cjs'; import { Apps } from './apps.cjs'; import { Billing } from './billing.cjs'; import { Customers } from './customers.cjs'; import { Debug } from './debug.cjs'; import { Entitlements, EntitlementsV2 } from './entitlements.cjs'; import { Events } from './events.cjs'; import { Features } from './features.cjs'; import { Info } from './info.cjs'; import { Meters } from './meters.cjs'; import { Notifications } from './notifications.cjs'; import { Plans } from './plans.cjs'; import { Portal } from './portal.cjs'; import type { paths } from './schemas.cjs'; import { Subjects } from './subjects.cjs'; import { SubscriptionAddons } from './subscription-addons.cjs'; import { Subscriptions } from './subscriptions.cjs'; export * from './common.cjs'; export * from './schemas.cjs'; /** * OpenMeter Config */ export type Config = Pick & ({ apiKey?: string; } | { baseUrl: 'https://openmeter.cloud'; apiKey: string; }); /** * OpenMeter Client */ export declare class OpenMeter { config: Config; client: Client; addons: Addons; apps: Apps; billing: Billing; customers: Customers; debug: Debug; entitlementsV1: Entitlements; entitlements: EntitlementsV2; events: Events; features: Features; info: Info; meters: Meters; notifications: Notifications; plans: Plans; portal: Portal; subjects: Subjects; subscriptionAddons: SubscriptionAddons; subscriptions: Subscriptions; constructor(config: Config); }