import { ReactElement } from 'react';
import { ItemType, OrderBook } from '@goatim/client';
import { FormFields } from '@cezembre/forms';
import { OrderItemEditorFields } from './orderItemEditor';
export interface ItemEditorFields extends FormFields {
    type?: ItemType;
    order?: OrderItemEditorFields;
}
export type ItemEditorSize = 'narrow' | 'small' | 'medium' | 'big';
export interface ItemEditorProps {
    initialItem?: ItemEditorFields;
    orderBook?: OrderBook;
    onSubmit?: (item: ItemEditorFields) => unknown;
    onCancel?: () => void;
    size?: ItemEditorSize;
    bankProposalQuotation?: number;
    onAcceptBankProposal?: (nbShares?: number) => unknown;
}
export declare function ItemEditor({ initialItem, orderBook, onSubmit, onCancel, size, bankProposalQuotation, onAcceptBankProposal, }: ItemEditorProps): ReactElement | null;
