import type { CSSProperties, ExtractPropTypes, PropType } from 'vue'; import type { VueNode } from '../_util/type'; export type TourActionsRender = (originNode: VueNode, info: { current: number; total: number; }) => VueNode; export declare const tourProps: () => { steps: { type: PropType; }; nextButtonProps: { type: PropType; }; prevButtonProps: { type: PropType; }; current: { type: NumberConstructor; }; type: { type: PropType<"default" | "primary">; }; /** Custom action buttons (antd ≥ 5.25). */ actionsRender: { type: PropType; default: TourActionsRender; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ closeIcon: import("vue-types").VueTypeValidableDef; prefixCls: { type: StringConstructor; }; total: { type: NumberConstructor; }; onClose: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onFinish: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; renderPanel: { type: PropType<(step: any, current: number) => VueNode>; default: (step: any, current: number) => VueNode; }; onPrev: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onNext: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; arrow: { type: PropType; default: boolean | { pointAtCenter: boolean; }; }; target: { type: PropType HTMLElement) | (() => null)>; default: HTMLElement | (() => HTMLElement) | (() => null); }; title: { type: PropType; default: VueNode; }; description: { type: PropType; default: VueNode; }; placement: { type: PropType; default: import("../vc-tour/placements").PlacementType; }; mask: { type: PropType; default: boolean | { style?: CSSProperties; color?: string; }; }; className: { type: StringConstructor; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ style: { type: PropType; default: CSSProperties; }; scrollIntoViewOptions: { type: PropType; default: boolean | ScrollIntoViewOptions; }; }>>[]>; }; prefixCls: { type: StringConstructor; }; current: { type: NumberConstructor; }; type: { type: PropType<"default" | "primary">; }; /** Custom action buttons (antd ≥ 5.25). */ actionsRender: { type: PropType; default: TourActionsRender; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ closeIcon: { type: PropType; default: VueNode; }; 'onUpdate:current': PropType<(val: number) => void>; builtinPlacements: import("vue-types").VueTypeValidableDef<{ [key: string]: any; }> & { default: () => { [key: string]: any; }; }; popupAlign: import("vue-types").VueTypeValidableDef<{ [key: string]: any; }> & { default: () => { [key: string]: any; }; } & { default: () => { [key: string]: any; }; }; open: { type: BooleanConstructor; default: boolean; }; defaultCurrent: { type: NumberConstructor; }; onChange: { type: PropType<(current: number) => void>; default: (current: number) => void; }; onClose: { type: PropType<(current: number) => void>; default: (current: number) => void; }; onFinish: { type: PropType<() => void>; default: () => void; }; mask: { type: PropType; default: boolean | { style?: CSSProperties; color?: string; }; }; arrow: { type: PropType; default: boolean | { pointAtCenter: boolean; }; }; rootClassName: { type: StringConstructor; }; placement: { type: PropType; default: import("../vc-tour/placements").PlacementType; }; renderPanel: { type: PropType<(props: Partial void>; default: (e: MouseEvent) => void; }; onFinish: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; renderPanel: { type: PropType<(step: any, current: number) => VueNode>; default: (step: any, current: number) => VueNode; }; onPrev: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onNext: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; arrow: { type: PropType; default: boolean | { pointAtCenter: boolean; }; }; target: { type: PropType HTMLElement) | (() => null)>; default: HTMLElement | (() => HTMLElement) | (() => null); }; title: { type: PropType; default: VueNode; }; description: { type: PropType; default: VueNode; }; placement: { type: PropType; default: import("../vc-tour/placements").PlacementType; }; mask: { type: PropType; default: boolean | { style?: CSSProperties; color?: string; }; }; className: { type: StringConstructor; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ style: { type: PropType; default: CSSProperties; }; scrollIntoViewOptions: { type: PropType; default: boolean | ScrollIntoViewOptions; }; }>>, current: number) => VueNode>; default: (props: Partial void>; default: (e: MouseEvent) => void; }; onFinish: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; renderPanel: { type: PropType<(step: any, current: number) => VueNode>; default: (step: any, current: number) => VueNode; }; onPrev: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onNext: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; arrow: { type: PropType; default: boolean | { pointAtCenter: boolean; }; }; target: { type: PropType HTMLElement) | (() => null)>; default: HTMLElement | (() => HTMLElement) | (() => null); }; title: { type: PropType; default: VueNode; }; description: { type: PropType; default: VueNode; }; placement: { type: PropType; default: import("../vc-tour/placements").PlacementType; }; mask: { type: PropType; default: boolean | { style?: CSSProperties; color?: string; }; }; className: { type: StringConstructor; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ style: { type: PropType; default: CSSProperties; }; scrollIntoViewOptions: { type: PropType; default: boolean | ScrollIntoViewOptions; }; }>>, current: number) => VueNode; }; gap: { type: PropType; default: import("../vc-tour/hooks/useTarget").Gap; }; animated: { type: PropType; default: boolean | { placeholder: boolean; }; }; scrollIntoViewOptions: { type: PropType; default: boolean | ScrollIntoViewOptions; }; zIndex: { type: NumberConstructor; default: number; }; disabledInteraction: { type: BooleanConstructor; default: boolean; }; getPopupContainer: { type: PropType<(node: HTMLElement) => HTMLElement>; default: (node: HTMLElement) => HTMLElement; }; }; export type TourProps = Partial>>; export interface TourBtnProps { children?: () => VueNode; onClick?: () => void; className?: string; style?: CSSProperties; } export declare const tourStepProps: () => { cover: { type: PropType; }; nextButtonProps: { type: PropType; }; prevButtonProps: { type: PropType; }; current: { type: NumberConstructor; }; type: { type: PropType<"default" | "primary">; }; /** Custom action buttons (antd ≥ 5.25). */ actionsRender: { type: PropType; default: TourActionsRender; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ closeIcon: import("vue-types").VueTypeValidableDef; prefixCls: { type: StringConstructor; }; total: { type: NumberConstructor; }; onClose: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onFinish: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; renderPanel: { type: PropType<(step: any, current: number) => VueNode>; default: (step: any, current: number) => VueNode; }; onPrev: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; onNext: { type: PropType<(e: MouseEvent) => void>; default: (e: MouseEvent) => void; }; arrow: { type: PropType; default: boolean | { pointAtCenter: boolean; }; }; target: { type: PropType HTMLElement) | (() => null)>; default: HTMLElement | (() => HTMLElement) | (() => null); }; title: { type: PropType; default: VueNode; }; description: { type: PropType; default: VueNode; }; placement: { type: PropType; default: import("../vc-tour/placements").PlacementType; }; mask: { type: PropType; default: boolean | { style?: CSSProperties; color?: string; }; }; className: { type: StringConstructor; }; /** Customize close icon; `false` / `null` hides it (antd ≥ 5.9). */ style: { type: PropType; default: CSSProperties; }; scrollIntoViewOptions: { type: PropType; default: boolean | ScrollIntoViewOptions; }; }; export type TourStepProps = Partial>>; export interface TourLocale { Next: string; Previous: string; Finish: string; }