nimiq-vitepress-theme
Version:
Nimiq UI theme for VitePress
24 lines (23 loc) • 677 B
TypeScript
export interface SidebarHeading {
hashPath: string;
text: string;
level: number;
items: SidebarHeading[];
}
export declare const useSecondarySidebar: () => {
headingTree: import("vue").Ref<{
hashPath: string;
text: string;
level: number;
items: /*elided*/ any[];
}[], SidebarHeading[] | {
hashPath: string;
text: string;
level: number;
items: /*elided*/ any[];
}[]>;
isHeadingActive: (hash: string) => boolean;
showOutline: import("vue").ComputedRef<boolean>;
showWidget: import("vue").ComputedRef<boolean>;
showSecondarySidebar: import("vue").ComputedRef<boolean>;
};