import type { ComponentPublicInstance } from 'vue'; import type { Numeric } from 'xzx-design/es/utils'; import type { IndexBarProps } from './indexes'; export type IndexBarProvide = { props: IndexBarProps; }; export type IndexBarExpose = { scrollTo: (index: Numeric) => void; }; export type IndexBarInstance = ComponentPublicInstance; export type IndexBarThemeVars = { indexBarSidebarZIndex?: number | string; indexBarIndexFontSize?: string; indexBarIndexLineHeight?: number | string; indexBarIndexActiveColor?: string; }; export type IndexAnchorThemeVars = { indexAnchorZIndex?: number | string; indexAnchorPadding?: string; indexAnchorTextColor?: string; indexAnchorFontWeight?: string; indexAnchorFontSize?: string; indexAnchorLineHeight?: number | string; indexAnchorBackground?: string; indexAnchorStickyTextColor?: string; indexAnchorStickyBackground?: string; };