import { ReactElement } from 'react';
import { FormProps } from '@cezembre/forms/dist/form';
import { CreditCardValue } from './creditCardInput';
export interface CreditCardFields {
    type: 'card';
    card?: CreditCardValue;
}
export type CreditCardFormSize = 'small' | 'medium' | 'large';
export interface CreditCardFormProps extends FormProps<CreditCardFields> {
    onCancel?: () => unknown;
    size?: CreditCardFormSize;
}
export declare function CreditCardForm({ onSubmit, onCancel, size, }: CreditCardFormProps): ReactElement;
