/** * Service-specific billing config for dd. * * Price→tier mapping is built at runtime from canonical Stripe price-id env vars * (the same names the webapp + billing topology use). This is a PUBLIC repo, so * NO price ids are hardcoded — they are injected via env on the production host. * * Tier semantics (per billing topology 2026-05-18 / stripe-ids 2026-05-08): * - STRIPE_PRICE_API_EUR — API Compliance €99/mo → kind 'pro' * - STRIPE_PRICE_API_FM — API Compliance Founding €69/mo → kind 'pro' * - STRIPE_PRICE_AGENCY_EUR — Agency €199/mo → kind 'agency' * - STRIPE_PRICE_PAY_PER_REPORT — one-time €1; quantity at checkout → credits * * Web Compliance (STRIPE_PRICE_WEB_EUR / STRIPE_PRICE_WEB_FM = basic) is WEB-ONLY: * it does NOT mint an MCP token, so those price ids are intentionally NOT mapped * here — an unmapped price id is ignored by the webhook (no token issued). */ import type { BillingConfig } from '@czagents/shared'; /** * Build the dd billing config from environment. Constructs the price→tier map * runtime so no Stripe price id ever lives in this public source tree. * * Required: STRIPE_PRICE_API_EUR, STRIPE_PRICE_AGENCY_EUR, STRIPE_PRICE_PAY_PER_REPORT. * Optional: STRIPE_PRICE_API_FM (Founding Member; mapped to 'pro' if present). */ export declare function buildDdBilling(env?: NodeJS.ProcessEnv): BillingConfig; //# sourceMappingURL=billing.d.ts.map