import { t as IRestApiContext } from "./types2.cjs"; //#region src/api/cloudPlans.d.ts declare namespace Cloud { interface PlanData { planId: number; monthlyExecutionsLimit: number; activeWorkflowsLimit: number; credentialsLimit: number; isActive: boolean; displayName: string; expirationDate: string; metadata: PlanMetadata; userIsTrialing?: boolean; bannerConfig?: BannerConfig; licenseFeatures?: Record; } interface PlanMetadata { version: 'v1'; group: 'opt-out' | 'opt-in' | 'trial'; slug: 'pro-1' | 'pro-2' | 'starter' | 'trial-1'; trial?: Trial; } interface Trial { length: number; gracePeriod: number; } interface BannerConfig { timeLeft?: { text?: string; }; showExecutions?: boolean; cta?: { text?: string; icon?: string; size?: 'small' | 'medium'; style?: 'primary' | 'success' | 'warning' | 'danger'; variant?: 'solid' | 'subtle' | 'ghost' | 'outline' | 'destructive' | 'success'; href?: string; }; icon?: string; dismissible?: boolean; forceShow?: boolean; } interface UpgradeOffer { slug: string; quotas: { monthlyExecutionsLimit: number; instanceAiCredits: number; }; currency?: { code: string; symbol: string; position: 'prefix' | 'suffix'; }; prices?: { monthly: number; yearlyPerMonth: number; discountPct: number; }; } type UserAccount = { confirmed: boolean; username: string; email: string; hasEarlyAccess?: boolean; role?: string; selectedApps?: string[]; information?: { [key: string]: string | string[]; }; }; } interface InstanceUsage { timeframe?: string; executions: number; activeWorkflows: number; } declare function getCurrentPlan(context: IRestApiContext): Promise; declare function getCurrentUsage(context: IRestApiContext): Promise; declare function getCloudUserInfo(context: IRestApiContext): Promise; declare function getUpgradeOffer(context: IRestApiContext): Promise>; declare function sendConfirmationEmail(context: IRestApiContext): Promise; declare function getAdminPanelLoginCode(context: IRestApiContext): Promise<{ code: string; }>; interface DynamicNotification { title?: string; message?: string; } declare function sendUserEvent(context: IRestApiContext, eventData: { eventType: string; metadata?: Record; }): Promise; //#endregion export { getCloudUserInfo as a, getUpgradeOffer as c, getAdminPanelLoginCode as i, sendConfirmationEmail as l, DynamicNotification as n, getCurrentPlan as o, InstanceUsage as r, getCurrentUsage as s, Cloud as t, sendUserEvent as u }; //# sourceMappingURL=cloudPlans.d.cts.map