import type { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType as __PropType } from 'vue'; import { type RouteLocation } from 'vue-router'; export interface Tab { label: string; to?: RouteLocation; content?: string; routeToMatch?: RouteLocation; } export interface GTabsProps { activeIndex?: number; tabs: Tab[]; useSlidingBorder?: boolean; matchMode?: 'exact' | 'prefix'; autoScroll?: boolean; } export type GTabsExposed = HTMLElement & { /** Reference to the tabs container element */ tabsRef: HTMLElement | null; /** Reference to the tab headers container */ headers: HTMLElement | undefined; /** References to individual tab elements */ tabRefs: HTMLElement[]; /** Current active tab index */ localActiveIndex: number; /** Activate a tab by index */ activateTab: (index: number) => void; /** Update the sliding border position */ updateBorderPosition: () => void; /** Current border style */ borderStyle: { width: string; transform: string; }; }; declare const _sfc_main: DefineComponent; required: false; }; tabs: { type: __PropType; required: true; }; useSlidingBorder: { type: __PropType; required: false; }; matchMode: { type: __PropType<"prefix" | "exact" | undefined>; required: false; default: string; }; autoScroll: { type: __PropType; required: false; default: boolean; }; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("refMounted" | "update:el" | "update:activeIndex")[], "refMounted" | "update:el" | "update:activeIndex", PublicProps, Readonly; required: false; }; tabs: { type: __PropType; required: true; }; useSlidingBorder: { type: __PropType; required: false; }; matchMode: { type: __PropType<"prefix" | "exact" | undefined>; required: false; default: string; }; autoScroll: { type: __PropType; required: false; default: boolean; }; }>> & Readonly<{ onRefMounted?: ((...args: any[]) => any) | undefined; "onUpdate:el"?: ((...args: any[]) => any) | undefined; "onUpdate:activeIndex"?: ((...args: any[]) => any) | undefined; }>, { matchMode: "prefix" | "exact" | undefined; autoScroll: boolean | undefined; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; export default _sfc_main;