import * as z from 'zod/mini'; import * as Response from '../../../internal/Response.js'; import type { Environment } from '../App.js'; /** Zod schemas owned by the billing resource. */ export declare namespace schema { /** Path parameters addressing one organization's billing. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; }, z.core.$strip>; /** Query parameters selecting the billing environment. */ const Query: z.ZodMiniObject<{ environment: z.ZodMiniDefault>; }, z.core.$strict>; /** Path parameters addressing one payment method. */ const MethodParams: z.ZodMiniObject<{ methodId: z.ZodMiniString; orgId: z.ZodMiniString; }, z.core.$strip>; /** A per-period spend limit. */ const SpendLimit: z.ZodMiniObject<{ amount: z.ZodMiniString; currency: z.ZodMiniDefault>; period: z.ZodMiniDefault>; }, z.core.$strip>; /** A per-transaction fee cap. */ const TxFeeLimit: z.ZodMiniObject<{ amount: z.ZodMiniString; currency: z.ZodMiniDefault>; }, z.core.$strip>; /** PATCH body; absent fields stay unchanged, null clears a limit. */ const Patch: z.ZodMiniObject<{ spendLimit: z.ZodMiniOptional; currency: z.ZodMiniDefault>; period: z.ZodMiniDefault>; }, z.core.$strip>>>; txFeeLimit: z.ZodMiniOptional; currency: z.ZodMiniDefault>; }, z.core.$strip>>>; }, z.core.$strip>; /** An organization's billing state. */ const Billing: z.ZodMiniObject<{ enabledSources: z.ZodMiniArray>; spend: z.ZodMiniOptional; currency: z.ZodMiniEnum<{ usd: "usd"; }>; period: z.ZodMiniEnum<{ month: "month"; }>; }, z.core.$strip>>; spendLimit: z.ZodMiniOptional; currency: z.ZodMiniDefault>; period: z.ZodMiniDefault>; }, z.core.$strip>>; status: z.ZodMiniEnum<{ active: "active"; canceled: "canceled"; none: "none"; past_due: "past_due"; }>; txFeeLimit: z.ZodMiniOptional; currency: z.ZodMiniDefault>; }, z.core.$strip>>; updatedAt: z.ZodMiniOptional; }, z.core.$strip>; /** A hosted Stripe session link. */ const Session: z.ZodMiniObject<{ url: z.ZodMiniURL; }, z.core.$strip>; /** A payment method on file. */ const PaymentMethod: z.ZodMiniObject<{ card: z.ZodMiniOptional; expMonth: z.ZodMiniNumber; expYear: z.ZodMiniNumber; last4: z.ZodMiniString; }, z.core.$strip>>; createdAt: z.ZodMiniISODateTime; default: z.ZodMiniBoolean; id: z.ZodMiniString; provider: z.ZodMiniLiteral<"stripe">; type: z.ZodMiniString; }, z.core.$strip>; /** An organization's payment methods. */ const PaymentMethods: z.ZodMiniObject<{ data: z.ZodMiniArray; expMonth: z.ZodMiniNumber; expYear: z.ZodMiniNumber; last4: z.ZodMiniString; }, z.core.$strip>>; createdAt: z.ZodMiniISODateTime; default: z.ZodMiniBoolean; id: z.ZodMiniString; provider: z.ZodMiniLiteral<"stripe">; type: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; } /** * Mounts billing routes. Reads require membership or scoped API key access; organizations without provider state return `none`. */ export declare function billing(): import("hono/hono-base").HonoBase; //# sourceMappingURL=billing.d.ts.map