import { AutumnContextParams } from '../../AutumnContext.js';
import { CheckParams } from '../../client/types/clientGenTypes.js';
import { a as CheckResult } from '../../genTypes-BouhbtKm.js';
import { d as Customer, c as Entity } from '../../cusTypes-B1wzqLIi.js';
import 'react';
import '../../ReactAutumnClient-CLd8_4oB.js';
import '../../attachTypes-eg914-6v.js';
import '../../prodTypes-C4aZSZfO.js';
import 'zod/v4';
import '../../eventTypes-5iJYcv30.js';
import '../../error-DHbclCVh.js';
import '../../client/types/clientAnalyticsTypes.js';

interface AllowedParams {
    featureId?: string;
    productId?: string;
    requiredBalance?: number;
}
declare const openDialog: ({ result, params, context, }: {
    result: CheckResult | null;
    params: CheckParams;
    context: AutumnContextParams;
}) => void;
declare const handleCheck: ({ customer, isEntity, params, context, }: {
    customer: Customer | Entity | null;
    isEntity?: boolean;
    params: CheckParams;
    context?: AutumnContextParams;
}) => {
    data: CheckResult;
    error: null;
};

export { type AllowedParams, handleCheck, openDialog };
