/// <reference types="react" />
import { CostInputPeriod } from "@cocalc/util/licenses/purchase/types";
interface Props {
    cost?: CostInputPeriod;
    router: any;
    form: any;
    cartError: string | undefined;
    setCartError: (error: any) => void;
    dedicatedItem?: boolean;
    disabled?: boolean;
    noAccount: boolean;
}
export declare function AddBox(props: Props): JSX.Element;
interface CartButtonProps {
    cost: CostInputPeriod | undefined;
    router: any;
    form: any;
    setCartError: (error: any) => void;
    disabled?: boolean;
    cartError: string | undefined;
    variant?: "primary" | "small";
}
export declare function AddToCartButton(props: CartButtonProps): JSX.Element;
export {};
