import { CostInputPeriod, PurchaseInfo, Subscription } from "@cocalc/util/licenses/purchase/types";
import { ComputeCostProps } from "@cocalc/util/upgrades/shopping";
import { ReactNode } from "react";
export declare function computeCost(props: ComputeCostProps): CostInputPeriod | undefined;
interface Props {
    cost: CostInputPeriod;
    simple?: boolean;
    oneLine?: boolean;
}
export declare function DisplayCost({ cost, simple, oneLine }: Props): JSX.Element;
export declare function describeItem(info: Partial<PurchaseInfo>): ReactNode;
export declare function describePeriod({ subscription, start, end, }: {
    subscription?: Omit<Subscription, "no">;
    start?: Date | string;
    end?: Date | string;
}): ReactNode;
export {};
