import { RenderFunction, SetupContext, Ref } from 'vue' import { DefineVxeComponentApp, DefineVxeComponentOptions, VxeComponentBaseOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf } from '@vxe-ui/core' /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */ export declare const VxeNoticeBar: DefineVxeComponentApp export type VxeNoticeBarComponent = DefineVxeComponentOptions export type VxeNoticeBarInstance = DefineVxeComponentInstance export interface VxeNoticeBarConstructor extends VxeComponentBaseOptions, VxeNoticeBarMethods { props: VxeNoticeBarProps context: SetupContext reactData: NoticeBarReactData getRefMaps(): NoticeBarPrivateRef getComputeMaps(): NoticeBarPrivateComputed renderVN: RenderFunction } export interface NoticeBarPrivateRef { refElem: Ref } export interface VxeNoticeBarPrivateRef extends NoticeBarPrivateRef {} export namespace VxeNoticeBarPropTypes { export type Size = VxeComponentSizeType export type Duration = string | number export type Loop = boolean export type Content = string export type Speed = '' | 'default' | 'fast' | 'slow' export type Direction = '' | 'left' | 'right' export type Vertical = boolean } export type VxeNoticeBarProps = { size?: VxeNoticeBarPropTypes.Size duration?: VxeNoticeBarPropTypes.Duration loop?: VxeNoticeBarPropTypes.Loop content?: VxeNoticeBarPropTypes.Content speed?: VxeNoticeBarPropTypes.Speed direction?: VxeNoticeBarPropTypes.Direction vertical?: VxeNoticeBarPropTypes.Vertical } export interface NoticeBarPrivateComputed {} export interface VxeNoticeBarPrivateComputed extends NoticeBarPrivateComputed {} export interface NoticeBarReactData { animationStatus: boolean animationDuration: number } export interface NoticeBarMethods { dispatchEvent(type: ValueOf, params: Record, evnt: Event | null): void } export interface VxeNoticeBarMethods extends NoticeBarMethods {} export interface NoticeBarPrivateMethods {} export interface VxeNoticeBarPrivateMethods extends NoticeBarPrivateMethods {} export type VxeNoticeBarEmits = ['start', 'end'] export namespace VxeNoticeBarDefines { export interface NoticeBarEventParams extends VxeComponentEventParams { $noticeBar: VxeNoticeBarConstructor } export interface StartEventParams { status: boolean } export interface EndEventParams extends StartEventParams {} } export type VxeNoticeBarEventProps = { onStart?: VxeNoticeBarEvents.Start onEnd?: VxeNoticeBarEvents.End } export interface VxeNoticeBarListeners { start?: VxeNoticeBarEvents.Start end?: VxeNoticeBarEvents.End } export namespace VxeNoticeBarEvents { export type Start = (params: VxeNoticeBarDefines.StartEventParams) => void export type End = (params: VxeNoticeBarDefines.EndEventParams) => void } export namespace VxeNoticeBarSlotTypes { export interface DefaultSlotParams {} export interface PrefixSlotParams {} export interface SuffixSlotParams {} } export interface VxeNoticeBarSlots { default?: (params: VxeNoticeBarSlotTypes.DefaultSlotParams) => any prefix?: (params: VxeNoticeBarSlotTypes.PrefixSlotParams) => any suffix?: (params: VxeNoticeBarSlotTypes.SuffixSlotParams) => any } export const NoticeBar: typeof VxeNoticeBar export default VxeNoticeBar