UNPKG

@crowdin/app-project-module

Version:

Module that generates for you all common endpoints for serving standalone Crowdin App

10 lines (9 loc) 448 B
import { AccountType, Config, SubscriptionInfo, UnauthorizedConfig } from '../types'; export declare function isAppFree(config: Config | UnauthorizedConfig): boolean; export declare function checkSubscription({ config, token, organization, accountType, }: { config: Config; token: string; organization: string; accountType: AccountType; }): Promise<SubscriptionInfo>; export declare function clearCache(organization: string): void;