import { ReactNode } from 'react';
import { BaseProps } from '../../base/props';
export type QuickEnterRef = QuickEnterActions;
export type QuickEnterActions = {
    open: () => void;
    close: () => void;
};
export interface QuickEnterOption extends Record<string, any> {
    title?: string;
    icon?: ReactNode;
    type?: string;
    url?: string;
    badge?: boolean | ReactNode;
    badgeProps?: any;
}
export interface BaseQuickEnter<POPUP_PROPS = any> extends BaseProps {
    /**
    * 是否可见
    */
    visible?: boolean
    /**
    * 标题
    */
    title?: ReactNode
    /**
    * 选项列表
    */
    options?: QuickEnterOption[]
    /**
    * 透传给 Popup 组件的属性
    */
    popupProps?: POPUP_PROPS
    /**
    * 是否在点击遮罩层后关闭
    */
    closeOnOverlayClick?: boolean
    /**
    * 自定义关闭图标
    */
    closeIcon?: ReactNode
    safeAreaInsetTop?: boolean;
    onClose?: () => void;
    onChange?: (item: QuickEnterOption, index: number) => void;
    children?: ReactNode;
}
