import { ReactElement } from 'react';
import { BoosterFactory, ItemType, OrderBook } from '@fridaygame/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;
    boosterFactories?: BoosterFactory[];
    onSubmit?: (item: ItemEditorFields) => unknown;
    onCancel?: () => void;
    size?: ItemEditorSize;
    bankProposalQuotation?: number;
    onAcceptBankProposal?: (nbShares?: number) => unknown;
}
export declare function ItemEditor({ initialItem, orderBook, boosterFactories, onSubmit, onCancel, size, bankProposalQuotation, onAcceptBankProposal, }: ItemEditorProps): ReactElement | null;
