import { z } from "zod"; export declare const BillingUsageDimensionSchema: z.ZodEnum<{ ai_tokens: "ai_tokens"; automation_runs_completed: "automation_runs_completed"; input_tokens: "input_tokens"; issues_created: "issues_created"; logs_accepted_bytes: "logs_accepted_bytes"; logs_ingested_bytes: "logs_ingested_bytes"; logs_query_bytes_scanned: "logs_query_bytes_scanned"; output_tokens: "output_tokens"; pull_request_reviews_completed: "pull_request_reviews_completed"; pull_requests_created: "pull_requests_created"; }>; export type BillingUsageDimension = z.infer; export declare const BillingTransactionTypeSchema: z.ZodEnum<{ adjustment: "adjustment"; auto_top_up: "auto_top_up"; cycle_top_up: "cycle_top_up"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_top_up: "one_off_top_up"; upgrade_top_up: "upgrade_top_up"; usage_debit: "usage_debit"; void: "void"; }>; export type BillingTransactionType = z.infer; export declare const BillingTransactionDirectionSchema: z.ZodEnum<{ credit: "credit"; debit: "debit"; }>; export type BillingTransactionDirection = z.infer; export declare const BillingTransactionReasonSchema: z.ZodEnum<{ adjustment: "adjustment"; auto_purchase: "auto_purchase"; cycle_renewal: "cycle_renewal"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_purchase: "one_off_purchase"; plan_upgrade: "plan_upgrade"; usage: "usage"; }>; export type BillingTransactionReason = z.infer; export declare const BillingPendingDowngradeSchema: z.ZodObject<{ billingSubscriptionChangeId: z.ZodString; effectiveAt: z.ZodString; planSlug: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>; export declare const GetBillingSummaryInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type GetBillingSummaryInput = z.infer; export declare const GetBillingSummaryOutputSchema: z.ZodObject<{ billingModel: z.ZodEnum<{ "credit-balance-v1": "credit-balance-v1"; }>; billable: z.ZodBoolean; nonBillableReason: z.ZodNullable; status: z.ZodString; planName: z.ZodNullable; planSlug: z.ZodNullable; currency: z.ZodNullable; currentBalance: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; currentCycle: z.ZodNullable>; currentPeriodEstimate: z.ZodNullable>; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; subscription: z.ZodNullable; canceledAt: z.ZodNullable; }, z.core.$strip>>; currentPlan: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>; export type GetBillingSummaryOutput = z.infer; export declare const GetBillingUsageInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; cycle: z.ZodDefault>; }, z.core.$strip>; export type GetBillingUsageInput = z.infer; export declare const BillingUsageRowSchema: z.ZodObject<{ dimension: z.ZodEnum<{ ai_tokens: "ai_tokens"; automation_runs_completed: "automation_runs_completed"; input_tokens: "input_tokens"; issues_created: "issues_created"; logs_accepted_bytes: "logs_accepted_bytes"; logs_ingested_bytes: "logs_ingested_bytes"; logs_query_bytes_scanned: "logs_query_bytes_scanned"; output_tokens: "output_tokens"; pull_request_reviews_completed: "pull_request_reviews_completed"; pull_requests_created: "pull_requests_created"; }>; totalQuantity: z.ZodString; weightedQuantity: z.ZodOptional; ratedQuantity: z.ZodString; creditsConsumed: z.ZodString; sourceBreakdown: z.ZodRecord; measurementQuality: z.ZodOptional>; unavailableReason: z.ZodOptional>>; pricingStatus: z.ZodOptional>; }, z.core.$strip>; export type BillingUsageRow = z.infer; export declare const GetBillingUsageOutputSchema: z.ZodObject<{ cycle: z.ZodNullable>; usage: z.ZodArray; totalQuantity: z.ZodString; weightedQuantity: z.ZodOptional; ratedQuantity: z.ZodString; creditsConsumed: z.ZodString; sourceBreakdown: z.ZodRecord; measurementQuality: z.ZodOptional>; unavailableReason: z.ZodOptional>>; pricingStatus: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type GetBillingUsageOutput = z.infer; export declare const ListBillingTransactionsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; limit: z.ZodDefault>; page: z.ZodDefault>; }, z.core.$strip>; export type ListBillingTransactionsInput = z.infer; export declare const BillingTransactionSchema: z.ZodObject<{ id: z.ZodString; transactionType: z.ZodEnum<{ adjustment: "adjustment"; auto_top_up: "auto_top_up"; cycle_top_up: "cycle_top_up"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_top_up: "one_off_top_up"; upgrade_top_up: "upgrade_top_up"; usage_debit: "usage_debit"; void: "void"; }>; creditDelta: z.ZodString; direction: z.ZodEnum<{ credit: "credit"; debit: "debit"; }>; reason: z.ZodEnum<{ adjustment: "adjustment"; auto_purchase: "auto_purchase"; cycle_renewal: "cycle_renewal"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_purchase: "one_off_purchase"; plan_upgrade: "plan_upgrade"; usage: "usage"; }>; amount: z.ZodString; balanceAfter: z.ZodString; occurredAt: z.ZodString; billingInvoiceId: z.ZodNullable; }, z.core.$strip>; export type BillingTransaction = z.infer; export declare const ListBillingTransactionsOutputSchema: z.ZodObject<{ items: z.ZodArray; creditDelta: z.ZodString; direction: z.ZodEnum<{ credit: "credit"; debit: "debit"; }>; reason: z.ZodEnum<{ adjustment: "adjustment"; auto_purchase: "auto_purchase"; cycle_renewal: "cycle_renewal"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_purchase: "one_off_purchase"; plan_upgrade: "plan_upgrade"; usage: "usage"; }>; amount: z.ZodString; balanceAfter: z.ZodString; occurredAt: z.ZodString; billingInvoiceId: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; totalPages: z.ZodNumber; hasNext: z.ZodBoolean; hasPrev: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; export type ListBillingTransactionsOutput = z.infer; export declare const getBillingSummary: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ billingModel: z.ZodEnum<{ "credit-balance-v1": "credit-balance-v1"; }>; billable: z.ZodBoolean; nonBillableReason: z.ZodNullable; status: z.ZodString; planName: z.ZodNullable; planSlug: z.ZodNullable; currency: z.ZodNullable; currentBalance: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; currentCycle: z.ZodNullable>; currentPeriodEstimate: z.ZodNullable>; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; subscription: z.ZodNullable; canceledAt: z.ZodNullable; }, z.core.$strip>>; currentPlan: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const getBillingUsage: import("../orpc-contracts/index.js").OperationDefinition; cycle: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ cycle: z.ZodNullable>; usage: z.ZodArray; totalQuantity: z.ZodString; weightedQuantity: z.ZodOptional; ratedQuantity: z.ZodString; creditsConsumed: z.ZodString; sourceBreakdown: z.ZodRecord; measurementQuality: z.ZodOptional>; unavailableReason: z.ZodOptional>>; pricingStatus: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const listBillingTransactions: import("../orpc-contracts/index.js").OperationDefinition; limit: z.ZodDefault>; page: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ items: z.ZodArray; creditDelta: z.ZodString; direction: z.ZodEnum<{ credit: "credit"; debit: "debit"; }>; reason: z.ZodEnum<{ adjustment: "adjustment"; auto_purchase: "auto_purchase"; cycle_renewal: "cycle_renewal"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_purchase: "one_off_purchase"; plan_upgrade: "plan_upgrade"; usage: "usage"; }>; amount: z.ZodString; balanceAfter: z.ZodString; occurredAt: z.ZodString; billingInvoiceId: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; totalPages: z.ZodNumber; hasNext: z.ZodBoolean; hasPrev: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, "api">; export declare const GetAutoTopUpInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type GetAutoTopUpInput = z.infer; export declare const AutoTopUpSettingsSchema: z.ZodObject<{ supported: z.ZodBoolean; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; currency: z.ZodString; creditsToGrant: z.ZodNullable; status: z.ZodString; }, z.core.$strip>; export type AutoTopUpSettings = z.infer; export declare const UpdateAutoTopUpInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; }, z.core.$strip>; export type UpdateAutoTopUpInput = z.infer; export declare const PurchaseCreditsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; amount: z.ZodString; idempotencyKey: z.ZodString; }, z.core.$strip>; export type PurchaseCreditsInput = z.infer; export declare const PurchaseCreditsOutputSchema: z.ZodObject<{ status: z.ZodEnum<{ paid: "paid"; pending_payment: "pending_payment"; }>; billingInvoiceId: z.ZodString; topUpAmount: z.ZodString; creditsToGrant: z.ZodString; currency: z.ZodString; }, z.core.$strip>; export type PurchaseCreditsOutput = z.infer; export declare const ListPlansInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type ListPlansInput = z.infer; export declare const BillingPlanSchema: z.ZodObject<{ slug: z.ZodString; isVisible: z.ZodOptional; billingModel: z.ZodString; name: z.ZodString; description: z.ZodString; bestFor: z.ZodNullable; price: z.ZodString; currency: z.ZodString; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; logsIncludedBytes: z.ZodString; aiTokensIncluded: z.ZodString; }, z.core.$strip>; export type BillingPlan = z.infer; export declare const ListPlansOutputSchema: z.ZodObject<{ billingModel: z.ZodString; currentPlanSlug: z.ZodNullable; hasActiveStripeBilling: z.ZodBoolean; plans: z.ZodArray; billingModel: z.ZodString; name: z.ZodString; description: z.ZodString; bestFor: z.ZodNullable; price: z.ZodString; currency: z.ZodString; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; logsIncludedBytes: z.ZodString; aiTokensIncluded: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export type ListPlansOutput = z.infer; export declare const PreviewPlanChangeInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; planSlug: z.ZodString; }, z.core.$strip>; export type PreviewPlanChangeInput = z.infer; export declare const PreviewPlanChangeOutputSchema: z.ZodObject<{ calculatedAt: z.ZodString; type: z.ZodEnum<{ downgrade: "downgrade"; upgrade: "upgrade"; }>; effectiveAt: z.ZodString; currency: z.ZodString; currentPlanSlug: z.ZodString; targetPlanSlug: z.ZodString; currentPlanName: z.ZodString; targetPlanName: z.ZodString; currentPlanPrice: z.ZodString; targetPlanPrice: z.ZodString; currentCycleCredits: z.ZodString; currentTargetCreditBalance: z.ZodString; cycleCredits: z.ZodString; targetCreditBalance: z.ZodString; creditDeficitAmount: z.ZodString; creditDeficitChargeAmount: z.ZodString; additionalCreditPrice: z.ZodString; immediateChargeAmount: z.ZodString; subscriptionChargeAmount: z.ZodString; proratedCreditGrantAmount: z.ZodString; remainingCycleFraction: z.ZodString; nextCycleChargeAmount: z.ZodString; }, z.core.$strip>; export type PreviewPlanChangeOutput = z.infer; export declare const ChangePlanInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; planSlug: z.ZodString; }, z.core.$strip>; export type ChangePlanInput = z.infer; export declare const ChangePlanOutputSchema: z.ZodObject<{ billingSubscriptionChangeId: z.ZodString; billingSubscriptionId: z.ZodString; status: z.ZodString; type: z.ZodString; effectiveAt: z.ZodString; invoiceId: z.ZodNullable; creditDeficitAmount: z.ZodOptional; creditDeficitChargeAmount: z.ZodOptional; creditTopUpAmount: z.ZodOptional; immediateChargeAmount: z.ZodOptional; subscriptionChargeAmount: z.ZodOptional; proratedCreditGrantAmount: z.ZodOptional; }, z.core.$strip>; export type ChangePlanOutput = z.infer; export declare const CreateCheckoutSessionInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; planSlug: z.ZodString; }, z.core.$strip>; export type CreateCheckoutSessionInput = z.infer; export declare const CreateCheckoutSessionOutputSchema: z.ZodObject<{ sessionId: z.ZodString; checkoutUrl: z.ZodString; }, z.core.$strip>; export type CreateCheckoutSessionOutput = z.infer; export declare const GetCheckoutSessionStatusInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; sessionId: z.ZodString; }, z.core.$strip>; export type GetCheckoutSessionStatusInput = z.infer; export declare const CheckoutSessionStatusSchema: z.ZodObject<{ status: z.ZodEnum<{ active: "active"; expired: "expired"; pending: "pending"; }>; }, z.core.$strip>; export type CheckoutSessionStatus = z.infer; export declare const CreatePortalSessionInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type CreatePortalSessionInput = z.infer; export declare const CreatePortalSessionOutputSchema: z.ZodObject<{ portalUrl: z.ZodString; }, z.core.$strip>; export type CreatePortalSessionOutput = z.infer; export declare const GetPaymentMethodInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type GetPaymentMethodInput = z.infer; export declare const PaymentMethodSummarySchema: z.ZodObject<{ hasPaymentMethod: z.ZodBoolean; brand: z.ZodNullable; last4: z.ZodNullable; type: z.ZodNullable; expiryMonth: z.ZodNullable; expiryYear: z.ZodNullable; isDefault: z.ZodBoolean; display: z.ZodNullable; }, z.core.$strip>; export type PaymentMethodSummary = z.infer; export declare const BillingCurrentPlanSchema: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; export declare const SubscriptionCancellationInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export declare const SubscriptionCancellationPreviewSchema: z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; }, z.core.$strip>; export declare const ScheduleSubscriptionCancellationOutputSchema: z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; billingSubscriptionChangeId: z.ZodString; alreadyScheduled: z.ZodBoolean; }, z.core.$strip>; export declare const ResumeSubscriptionCancellationOutputSchema: z.ZodObject<{ billingSubscriptionId: z.ZodString; resumed: z.ZodLiteral; }, z.core.$strip>; export type SubscriptionCancellationInput = z.infer; export type SubscriptionCancellationPreview = z.infer; export type ScheduleSubscriptionCancellationOutput = z.infer; export type ResumeSubscriptionCancellationOutput = z.infer; export declare const getAutoTopUp: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ supported: z.ZodBoolean; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; currency: z.ZodString; creditsToGrant: z.ZodNullable; status: z.ZodString; }, z.core.$strip>, "api">; export declare const updateAutoTopUp: import("../orpc-contracts/index.js").OperationDefinition; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ supported: z.ZodBoolean; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; currency: z.ZodString; creditsToGrant: z.ZodNullable; status: z.ZodString; }, z.core.$strip>, "api">; export declare const purchaseCredits: import("../orpc-contracts/index.js").OperationDefinition; amount: z.ZodString; idempotencyKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ paid: "paid"; pending_payment: "pending_payment"; }>; billingInvoiceId: z.ZodString; topUpAmount: z.ZodString; creditsToGrant: z.ZodString; currency: z.ZodString; }, z.core.$strip>, "api">; export declare const listPlans: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ billingModel: z.ZodString; currentPlanSlug: z.ZodNullable; hasActiveStripeBilling: z.ZodBoolean; plans: z.ZodArray; billingModel: z.ZodString; name: z.ZodString; description: z.ZodString; bestFor: z.ZodNullable; price: z.ZodString; currency: z.ZodString; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; logsIncludedBytes: z.ZodString; aiTokensIncluded: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const previewPlanChange: import("../orpc-contracts/index.js").OperationDefinition; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ calculatedAt: z.ZodString; type: z.ZodEnum<{ downgrade: "downgrade"; upgrade: "upgrade"; }>; effectiveAt: z.ZodString; currency: z.ZodString; currentPlanSlug: z.ZodString; targetPlanSlug: z.ZodString; currentPlanName: z.ZodString; targetPlanName: z.ZodString; currentPlanPrice: z.ZodString; targetPlanPrice: z.ZodString; currentCycleCredits: z.ZodString; currentTargetCreditBalance: z.ZodString; cycleCredits: z.ZodString; targetCreditBalance: z.ZodString; creditDeficitAmount: z.ZodString; creditDeficitChargeAmount: z.ZodString; additionalCreditPrice: z.ZodString; immediateChargeAmount: z.ZodString; subscriptionChargeAmount: z.ZodString; proratedCreditGrantAmount: z.ZodString; remainingCycleFraction: z.ZodString; nextCycleChargeAmount: z.ZodString; }, z.core.$strip>, "api">; export declare const changePlan: import("../orpc-contracts/index.js").OperationDefinition; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ billingSubscriptionChangeId: z.ZodString; billingSubscriptionId: z.ZodString; status: z.ZodString; type: z.ZodString; effectiveAt: z.ZodString; invoiceId: z.ZodNullable; creditDeficitAmount: z.ZodOptional; creditDeficitChargeAmount: z.ZodOptional; creditTopUpAmount: z.ZodOptional; immediateChargeAmount: z.ZodOptional; subscriptionChargeAmount: z.ZodOptional; proratedCreditGrantAmount: z.ZodOptional; }, z.core.$strip>, "api">; export declare const createCheckoutSession: import("../orpc-contracts/index.js").OperationDefinition; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; checkoutUrl: z.ZodString; }, z.core.$strip>, "api">; export declare const getCheckoutSessionStatus: import("../orpc-contracts/index.js").OperationDefinition; sessionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ active: "active"; expired: "expired"; pending: "pending"; }>; }, z.core.$strip>, "api">; export declare const createPortalSession: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ portalUrl: z.ZodString; }, z.core.$strip>, "api">; export declare const getPaymentMethod: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ hasPaymentMethod: z.ZodBoolean; brand: z.ZodNullable; last4: z.ZodNullable; type: z.ZodNullable; expiryMonth: z.ZodNullable; expiryYear: z.ZodNullable; isDefault: z.ZodBoolean; display: z.ZodNullable; }, z.core.$strip>, "api">; export declare const previewSubscriptionCancellation: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; }, z.core.$strip>, "api">; export declare const scheduleSubscriptionCancellation: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; billingSubscriptionChangeId: z.ZodString; alreadyScheduled: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const resumeSubscriptionCancellation: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ billingSubscriptionId: z.ZodString; resumed: z.ZodLiteral; }, z.core.$strip>, "api">; export declare const BillingUsageInvoiceLineItemSchema: z.ZodObject<{ productKey: z.ZodEnum<{ ai_tokens: "ai_tokens"; automation_runs_completed: "automation_runs_completed"; input_tokens: "input_tokens"; issues_created: "issues_created"; logs_accepted_bytes: "logs_accepted_bytes"; logs_ingested_bytes: "logs_ingested_bytes"; logs_query_bytes_scanned: "logs_query_bytes_scanned"; output_tokens: "output_tokens"; pull_request_reviews_completed: "pull_request_reviews_completed"; pull_requests_created: "pull_requests_created"; }>; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>; export type BillingUsageInvoiceLineItem = z.infer; export declare const BillingUsageInvoiceSchema: z.ZodObject<{ id: z.ZodString; cycleStartsAt: z.ZodString; cycleEndsAt: z.ZodString; status: z.ZodString; currency: z.ZodString; subtotalAmount: z.ZodString; totalAmount: z.ZodString; lineItems: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; hostedInvoiceUrl: z.ZodNullable; finalizedAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export type BillingUsageInvoice = z.infer; export type ListUsageInvoicesInput = z.infer; export type ListUsageInvoicesOutput = z.infer; export type GetAccruedUsageChargesInput = z.infer; export type GetAccruedUsageChargesOutput = z.infer; export declare const ListUsageInvoicesInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; limit: z.ZodDefault>; }, z.core.$strip>; export declare const ListUsageInvoicesOutputSchema: z.ZodObject<{ items: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; hostedInvoiceUrl: z.ZodNullable; finalizedAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export declare const listUsageInvoices: import("../orpc-contracts/index.js").OperationDefinition; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ items: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; hostedInvoiceUrl: z.ZodNullable; finalizedAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const GetAccruedUsageChargesInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export declare const GetAccruedUsageChargesOutputSchema: z.ZodObject<{ cycle: z.ZodNullable>; currency: z.ZodNullable; settlesInCents: z.ZodBoolean; lineItems: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; totalAmount: z.ZodString; }, z.core.$strip>; export declare const getAccruedUsageCharges: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ cycle: z.ZodNullable>; currency: z.ZodNullable; settlesInCents: z.ZodBoolean; lineItems: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; totalAmount: z.ZodString; }, z.core.$strip>, "api">; export declare const billingContract: { readonly getSummary: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ billingModel: z.ZodEnum<{ "credit-balance-v1": "credit-balance-v1"; }>; billable: z.ZodBoolean; nonBillableReason: z.ZodNullable; status: z.ZodString; planName: z.ZodNullable; planSlug: z.ZodNullable; currency: z.ZodNullable; currentBalance: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; currentCycle: z.ZodNullable>; currentPeriodEstimate: z.ZodNullable>; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; subscription: z.ZodNullable; canceledAt: z.ZodNullable; }, z.core.$strip>>; currentPlan: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getUsage: import("@orpc/contract").ContractProcedure; cycle: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ cycle: z.ZodNullable>; usage: z.ZodArray; totalQuantity: z.ZodString; weightedQuantity: z.ZodOptional; ratedQuantity: z.ZodString; creditsConsumed: z.ZodString; sourceBreakdown: z.ZodRecord; measurementQuality: z.ZodOptional>; unavailableReason: z.ZodOptional>>; pricingStatus: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getAccruedUsageCharges: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ cycle: z.ZodNullable>; currency: z.ZodNullable; settlesInCents: z.ZodBoolean; lineItems: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; totalAmount: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly listUsageInvoices: import("@orpc/contract").ContractProcedure; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ items: z.ZodArray; displayName: z.ZodString; meteredQuantity: z.ZodString; includedQuantity: z.ZodString; overageQuantity: z.ZodString; unitPrice: z.ZodString; amount: z.ZodString; }, z.core.$strip>>; hostedInvoiceUrl: z.ZodNullable; finalizedAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly listTransactions: import("@orpc/contract").ContractProcedure; limit: z.ZodDefault>; page: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ items: z.ZodArray; creditDelta: z.ZodString; direction: z.ZodEnum<{ credit: "credit"; debit: "debit"; }>; reason: z.ZodEnum<{ adjustment: "adjustment"; auto_purchase: "auto_purchase"; cycle_renewal: "cycle_renewal"; deficit_settlement: "deficit_settlement"; migration_opening_balance: "migration_opening_balance"; one_off_purchase: "one_off_purchase"; plan_upgrade: "plan_upgrade"; usage: "usage"; }>; amount: z.ZodString; balanceAfter: z.ZodString; occurredAt: z.ZodString; billingInvoiceId: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; totalPages: z.ZodNumber; hasNext: z.ZodBoolean; hasPrev: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getAutoTopUp: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ supported: z.ZodBoolean; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; currency: z.ZodString; creditsToGrant: z.ZodNullable; status: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly updateAutoTopUp: import("@orpc/contract").ContractProcedure; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ supported: z.ZodBoolean; enabled: z.ZodBoolean; triggerCreditBalance: z.ZodString; topUpAmount: z.ZodString; cycleSpendingLimit: z.ZodString; currency: z.ZodString; creditsToGrant: z.ZodNullable; status: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly purchaseCredits: import("@orpc/contract").ContractProcedure; amount: z.ZodString; idempotencyKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ paid: "paid"; pending_payment: "pending_payment"; }>; billingInvoiceId: z.ZodString; topUpAmount: z.ZodString; creditsToGrant: z.ZodString; currency: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly listPlans: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ billingModel: z.ZodString; currentPlanSlug: z.ZodNullable; hasActiveStripeBilling: z.ZodBoolean; plans: z.ZodArray; billingModel: z.ZodString; name: z.ZodString; description: z.ZodString; bestFor: z.ZodNullable; price: z.ZodString; currency: z.ZodString; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; logsIncludedBytes: z.ZodString; aiTokensIncluded: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly previewPlanChange: import("@orpc/contract").ContractProcedure; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ calculatedAt: z.ZodString; type: z.ZodEnum<{ downgrade: "downgrade"; upgrade: "upgrade"; }>; effectiveAt: z.ZodString; currency: z.ZodString; currentPlanSlug: z.ZodString; targetPlanSlug: z.ZodString; currentPlanName: z.ZodString; targetPlanName: z.ZodString; currentPlanPrice: z.ZodString; targetPlanPrice: z.ZodString; currentCycleCredits: z.ZodString; currentTargetCreditBalance: z.ZodString; cycleCredits: z.ZodString; targetCreditBalance: z.ZodString; creditDeficitAmount: z.ZodString; creditDeficitChargeAmount: z.ZodString; additionalCreditPrice: z.ZodString; immediateChargeAmount: z.ZodString; subscriptionChargeAmount: z.ZodString; proratedCreditGrantAmount: z.ZodString; remainingCycleFraction: z.ZodString; nextCycleChargeAmount: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly changePlan: import("@orpc/contract").ContractProcedure; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ billingSubscriptionChangeId: z.ZodString; billingSubscriptionId: z.ZodString; status: z.ZodString; type: z.ZodString; effectiveAt: z.ZodString; invoiceId: z.ZodNullable; creditDeficitAmount: z.ZodOptional; creditDeficitChargeAmount: z.ZodOptional; creditTopUpAmount: z.ZodOptional; immediateChargeAmount: z.ZodOptional; subscriptionChargeAmount: z.ZodOptional; proratedCreditGrantAmount: z.ZodOptional; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly createCheckoutSession: import("@orpc/contract").ContractProcedure; planSlug: z.ZodString; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; checkoutUrl: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getCheckoutSessionStatus: import("@orpc/contract").ContractProcedure; sessionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ active: "active"; expired: "expired"; pending: "pending"; }>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly createPortalSession: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ portalUrl: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getPaymentMethod: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ hasPaymentMethod: z.ZodBoolean; brand: z.ZodNullable; last4: z.ZodNullable; type: z.ZodNullable; expiryMonth: z.ZodNullable; expiryYear: z.ZodNullable; isDefault: z.ZodBoolean; display: z.ZodNullable; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly previewSubscriptionCancellation: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly scheduleSubscriptionCancellation: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ currentPlan: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; subscriptionStatus: z.ZodString; cycleStartsAt: z.ZodNullable; cycleEndsAt: z.ZodNullable; renewalAt: z.ZodNullable; pendingSwitch: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; pendingCancellation: z.ZodNullable>; }, z.core.$strip>; effectiveAt: z.ZodString; currentBalance: z.ZodString; servicePolicy: z.ZodLiteral<"active_until_period_end">; creditPolicy: z.ZodLiteral<"dormant_until_resubscription">; scheduledFinalCharge: z.ZodNullable; autoTopUpEnabled: z.ZodBoolean; pendingDowngrade: z.ZodNullable; planName: z.ZodNullable; price: z.ZodNullable; currency: z.ZodNullable; cycleCredits: z.ZodNullable; targetCreditBalance: z.ZodNullable; }, z.core.$strip>>; calculatedAt: z.ZodString; billingSubscriptionChangeId: z.ZodString; alreadyScheduled: z.ZodBoolean; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly resumeSubscriptionCancellation: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ billingSubscriptionId: z.ZodString; resumed: z.ZodLiteral; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; };