import { B } from './block'; import { Comp, Emitter } from '../core/interface'; export interface BaseComp extends Comp<{}, {}, {}, {}, {}, {}, {}, {}> { } export interface Comps { [k: string]: BaseComp; } export declare class HTMLBrand { htmlBrand: {}; } export interface TransitionProp { name?: string; appear?: boolean; css?: boolean; mode?: string; type?: string; enterClass?: string; leaveClass?: string; enterActiveClass?: string; leaveActiveClass?: string; appearClass?: string; appearActiveClass?: string; } export interface TransitionEvent { beforeEnter: HTMLElement; enter: HTMLElement; afterEnter: HTMLElement; beforeLeave: HTMLElement; leave: HTMLElement; afterLeave: HTMLElement; beforeAppear: HTMLElement; appear: HTMLElement; afterAppear: HTMLElement; } export interface VueLocation { path?: string; name?: string; params?: any; } export interface KeepAlive { props: { include?: string | RegExp; exclude?: string | RegExp; }; } export interface RouterLink { props: { to: string | VueLocation; replace?: boolean; append?: boolean; tag?: string; activeClass?: string; exact?: boolean; events?: string[]; }; } export interface RouterView { props: { name?: string; }; } export interface Transition { props: TransitionProp; $emit: TransitionEvent; } export interface TransitionGroup { props: TransitionProp & { tag?: string; moveClass?: string; }; $emit: Emitter; } export interface BuiltinComponents { keepAlive: KeepAlive; transition: Transition; transitionGroup: TransitionGroup; routerLink: RouterLink; routerView: RouterView; } export declare type HTML = B;