/// <reference types="node" />
import { FormSubmitFunction } from '@cezembre/forms';
import { Asset, Dividend, Ipo, OrderBook, OrderType, Portfolio } from '@goatim/client';
import { QuotationHistory } from '@goatim/client/dist/trading/quotations/model';
import { OrderEditorFields } from '@src/trading/orders';
import { SellPortfolioToBankFields } from '@src/trading/portfolios';
import { ReactElement } from 'react';
import { UrlObject } from 'url';
export type AssetOverviewSize = 'small' | 'medium' | 'full';
export interface AssetOverviewProps {
    asset: Asset;
    quotationHistory?: QuotationHistory;
    dividends?: Dividend[];
    size?: AssetOverviewSize;
    orderBook?: OrderBook;
    onSubmitOrder?: (orderFields: OrderEditorFields) => unknown;
    ipo?: Ipo;
    secondaryHref?: string | UrlObject;
    defaultOrderType?: OrderType;
    isConnected?: boolean;
    connectButtonHref?: string | UrlObject;
    portfolio?: Portfolio;
    onSellPortfolioToBank?: FormSubmitFunction<SellPortfolioToBankFields>;
}
export declare function AssetOverview({ asset, quotationHistory, dividends, size, secondaryHref, orderBook, onSubmitOrder, ipo, defaultOrderType, isConnected, connectButtonHref, portfolio, onSellPortfolioToBank, }: AssetOverviewProps): ReactElement;
