import { z } from 'zod'; import { AiCreditsAutoTopUpState, PlanName, PlatformPlanWithOnlyLimits } from '../../management/platform'; import { PiecesFilterType } from '../../management/project'; export declare const PRICE_PER_EXTRA_ACTIVE_FLOWS = 5; export declare const AI_CREDITS_USAGE_THRESHOLD = 15000; export type ProjectPlanLimits = { nickname?: string; locked?: boolean; pieces?: string[]; aiCredits?: number | null; piecesFilterType?: PiecesFilterType; }; export declare enum ApSubscriptionStatus { ACTIVE = "active", CANCELED = "canceled" } export declare const METRIC_TO_LIMIT_MAPPING: { readonly "active-flows": "activeFlowsLimit"; }; export declare const METRIC_TO_USAGE_MAPPING: { readonly "active-flows": "activeFlows"; }; export declare const UpdateActiveFlowsAddonParamsSchema: z.ZodObject<{ newActiveFlowsLimit: z.ZodNumber; }, z.core.$strip>; export type UpdateActiveFlowsAddonParams = z.infer; export declare const CreateCheckoutSessionParamsSchema: z.ZodObject<{ newActiveFlowsLimit: z.ZodNumber; }, z.core.$strip>; export type CreateSubscriptionParams = z.infer; export declare const CreateAICreditCheckoutSessionParamsSchema: z.ZodObject<{ aiCredits: z.ZodNumber; }, z.core.$strip>; export type CreateAICreditCheckoutSessionParamsSchema = z.infer; export declare const UpdateAICreditsAutoTopUpParamsSchema: z.ZodUnion; minThreshold: z.ZodNumber; creditsToAdd: z.ZodNumber; maxMonthlyLimit: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ state: z.ZodLiteral; }, z.core.$strip>]>; export type UpdateAICreditsAutoTopUpParamsSchema = z.infer; export declare enum PRICE_NAMES { AI_CREDITS = "ai-credit", ACTIVE_FLOWS = "active-flow" } export declare const PRICE_ID_MAP: { "ai-credit": { dev: string; prod: string; }; "active-flow": { dev: string; prod: string; }; }; export declare const STANDARD_CLOUD_PLAN: PlatformPlanWithOnlyLimits; export declare const OPEN_SOURCE_PLAN: PlatformPlanWithOnlyLimits; export declare const APPSUMO_PLAN: (planName: PlanName) => PlatformPlanWithOnlyLimits; export declare const isCloudPlanButNotEnterprise: (plan?: string | null) => boolean; //# sourceMappingURL=index.d.ts.map