import { TouchPositionDetail, VantBaseExternalClassName, VantComponent, VantEventHandler, VantTouchEventHandler, WechatOpenType } from '../base';
export interface VantNoticeBarProps {
    /**
     * 通知栏模式
     *
     * @default ''
     */
    mode?: 'closeable' | 'link';
    /**
     * 通知文本内容
     *
     * @default ''
     */
    text?: string;
    /**
     * 通知文本颜色
     *
     * @default '#ed6a0c'
     */
    color?: string;
    /**
     * 滚动条背景
     *
     * @default '#fffbe8'
     */
    background?: string;
    /**
     * 左侧图标名称或图片链接
     */
    leftIcon?: string;
    /**
     * 动画延迟时间 (s)
     *
     * @default 1
     */
    delay?: number;
    /**
     * 滚动速率 (px/s)
     *
     * @default 60
     */
    speed?: number;
    /**
     * 是否开启滚动播放，内容长度溢出时默认开启
     */
    scrollable?: boolean;
    /**
     * 是否开启文本换行，只在禁用滚动时生效
     *
     * @default false
     */
    wrapable?: boolean;
    /**
     * 微信开放能力
     *
     * @default 'navigate'
     */
    openType?: WechatOpenType;
}
export interface VantNoticeBarEvents {
    /**
     * 点击通知栏时触发
     */
    onClick?: VantTouchEventHandler;
    /**
     * 关闭通知栏时触发
     */
    onClose?: VantEventHandler<TouchPositionDetail>;
}
export type VantNoticeBarExternalClassName = VantBaseExternalClassName;
export type VantNoticeBar = VantComponent<VantNoticeBarProps, VantNoticeBarEvents, VantNoticeBarExternalClassName>;
