import type { Spec } from '@scalar/oas-utils';
export type SidebarEntry = {
    id: string;
    title: string;
    displayTitle?: string;
    children?: SidebarEntry[];
    select?: () => void;
    httpVerb?: string;
    show: boolean;
    deprecated?: boolean;
    isGroup?: boolean;
};
declare function setParsedSpec(spec: Spec): Spec;
type CollapsedSidebarItems = Record<string, boolean>;
declare function toggleCollapsedSidebarItem(key: string): void;
declare function setCollapsedSidebarItem(key: string, value: boolean): void;
export declare function useSidebar(options?: {
    parsedSpec: Spec;
}): {
    breadcrumb: import("vue").ComputedRef<string>;
    items: import("vue").ComputedRef<{
        entries: SidebarEntry[];
        titles: Record<string, string>;
    }>;
    isSidebarOpen: import("vue").Ref<boolean>;
    collapsedSidebarItems: CollapsedSidebarItems;
    toggleCollapsedSidebarItem: typeof toggleCollapsedSidebarItem;
    setCollapsedSidebarItem: typeof setCollapsedSidebarItem;
    hideModels: import("vue").Ref<boolean>;
    setParsedSpec: typeof setParsedSpec;
};
export {};
//# sourceMappingURL=useSidebar.d.ts.map