import { PLAN_LIMITS, PlanLimits, PlanType } from '@bottrade/shared';
export interface AdminPlanConfig {
    name: string;
    price: string;
    features: {
        paresIlimitados: boolean;
        todosIndicadores: boolean;
        multiTimeframe: boolean;
        paperTrading: boolean;
        backtest: boolean;
        telegram: boolean;
        autoTrade: boolean;
        execucaoOrdens: boolean;
    };
    maxFavorites: number;
}
type AdminPlanMap = Record<PlanType, AdminPlanConfig>;
export declare function getAdminPlanConfigs(): Promise<AdminPlanMap>;
export declare function saveAdminPlanConfig(plan: AdminPlanConfig): Promise<AdminPlanMap>;
export declare function checkFeature(userId: number, feature: keyof typeof PLAN_LIMITS.free): Promise<{
    allowed: boolean;
    plan: PlanType;
    requiredPlan: PlanType;
}>;
export declare function getPlanLimits(plan: PlanType): Promise<PlanLimits>;
export {};
//# sourceMappingURL=planGating.d.ts.map