import { MetalUser, PremiumPachydermTopic, CardClues, TriggerCheckoutPopup, AuthPayload } from "../types.js"; import { AuthModel } from "./auth-model.js"; import * as loading from "../toolbox/loading.js"; export declare class PaywallModel { private readonly auth; private readonly checkoutPopupUrl; private readonly operations; private readonly premiumPachyderm; private readonly triggerCheckoutPopup; premiumInfoLoad: loading.Load<{ cardClues: CardClues; }>; get premium(): boolean; get premiumUntil(): number; constructor(options: { auth: AuthModel; checkoutPopupUrl: string; premiumPachyderm: PremiumPachydermTopic; triggerCheckoutPopup: TriggerCheckoutPopup; }); handleAuthLoad(authLoad: loading.Load>): Promise; checkoutPremium(): Promise; updatePremium(): Promise; cancelPremium(): Promise; private setPremiumInfoLoad; }