import React from 'react';
import { BalloonProps } from '@alifd/next/types/balloon';
import BalloonIcon from './balloonIcon';
import BalloonConfirm from './balloonConfirm';
export interface propTypes extends BalloonProps {
    /**
     * 指定浮层渲染的父节点, 可以为节点id的字符串，也可以返回节点的函数。
     */
    container?: () => {} | number;
    /**
     * trigger超出几行隐藏
     */
    maxLine: number;
    /**
     * trigger:最大的宽度
     */
    triggerWidth?: any;
    /** 只有内容超出最大行数 才显示气泡 */
    overShowBalloon: boolean;
    /**不再重新计算折叠 */
    onlyOnce: boolean;
}
declare enum enumTriggerType {
    hover = "hover",
    focus = "focus",
    cllick = "click"
}
interface defaultPropsType {
    align: 't' | 'r' | 'b' | 'l' | 'tl' | 'tr' | 'bl' | 'br' | 'lt' | 'lb' | 'rt' | 'rb';
    triggerType: enumTriggerType | Array<enumTriggerType>;
    maxLine: number;
    overShowBalloon: boolean;
    closable: boolean;
    autoFocus: boolean;
    onlyOnce: boolean;
}
interface stateType {
    /**是否折叠 */
    showCollapse: boolean;
    /**是否需要重新计算 */
    needAnalyse: boolean;
}
export default class LPBalloon extends React.Component<propTypes, stateType> {
    static defaultProps: defaultPropsType;
    static Icon: typeof BalloonIcon;
    static Confirm: typeof BalloonConfirm;
    triggerBoxId: string;
    constructor(props: any);
    componentDidMount(): void;
    componentWillReceiveProps(nextProps: any): void;
    componentDidUpdate(): void;
    render(): {};
}
export {};
