import StripeServer from "stripe";
import { SubscriptionStatus } from "../../../meta/core/resources/enums/payment-enums";
export declare function cancelPaidSubscription(subscriptionId: string, workspaceId: string): Promise<void>;
export declare function updatePaymentPlan(subscriptionId: string, pricingId: string): Promise<void>;
export declare function changeSubscriptionStatus(resourceId: string, status: SubscriptionStatus): Promise<unknown>;
/** @internal */
export declare function getActiveSubscriptionByWorkspaceId(workspaceId: string): Promise<any>;
export declare function syncInactiveSubscriptions(): Promise<void>;
export declare function processInactiveSubscriptionSync(paidSubscriptionId: string, freeSubscriptionId: string, paymentSystemSubscriptionData: {
    status: StripeServer.Subscription.Status;
    currentPeriodEndDate: number;
    endDate?: number;
}): Promise<void>;
export declare function hasPaidOrTrialSubscription(): Promise<any>;
export declare function createSubscriptionForCurrentWorkspace(pricingId: string): Promise<Response>;
