export interface AnchorNavItem { /** The `id` of the element this item scrolls to */ id: string; /** Display label */ label: string; /** Whether the item is disabled */ disabled?: boolean; } export interface CuiAnchorNavProps { /** Sections to link to, in document order */ items: AnchorNavItem[]; /** Active item id. Omit to let the component track scrolling itself. */ modelValue?: string; /** * Layout direction. `responsive` (default) is a vertical rail from the `md` * breakpoint up and a horizontal scroller below it. */ orientation?: "responsive" | "vertical" | "horizontal"; /** Track the scroll position and highlight the section in view */ scrollSpy?: boolean; /** * Scrolling element. Accepts a CSS selector or an element; defaults to the * page. Set this when the content scrolls inside a container. */ scrollContainer?: string | HTMLElement | null; /** Pixels to leave above the target, e.g. the height of a sticky header */ offset?: number; /** Accessible name for the navigation landmark */ ariaLabel?: string; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { item?(_: { item: AnchorNavItem; active: boolean; }): any; }; refs: { navEl: HTMLElement; }; rootEl: HTMLElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent any; itemClick: (item: AnchorNavItem, event: MouseEvent) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((id: string) => any) | undefined; onItemClick?: ((item: AnchorNavItem, event: MouseEvent) => any) | undefined; }>, { ariaLabel: string; modelValue: string; orientation: "responsive" | "vertical" | "horizontal"; scrollSpy: boolean; scrollContainer: string | HTMLElement | null; offset: number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { navEl: HTMLElement; }, HTMLElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };