import { CardStyle, CardType } from './checkoutVoucher.props';
export declare const CheckoutVoucherContextProvider: (props: {
    defaultSelectedStyle: CardStyle;
    defaultSelectedCardId: string;
    cardStyles: CardStyle[];
    children: any;
    cards: CardType[];
}) => JSX.Element;
export declare type CheckoutVoucherContextValue = {
    cards: CardType[];
    cardId: string;
    updateCard: (id: string) => void;
    style: CardStyle;
    cardStyles: CardStyle[];
    updateStyle: (id: CardStyle) => void;
    customAmount?: string;
    updateCustomAmount: (value: string) => void;
    formControl: any;
    errors: any;
    handleFormSubmit: () => void;
};
export declare const useVoucherStyle: () => {
    selectedStyle: CardStyle;
    updateStyle: (id: CardStyle) => void;
    styleList: CardStyle[];
};
export declare const useCardsContext: () => CheckoutVoucherContextValue;
export declare const useVoucherForm: () => {
    errors: any;
    formControl: any;
    handleFormSubmit: () => void;
};
