import type { OpenAPIV3_1 } from '@scalar/openapi-types';
import { type InjectionKey, type Ref } from 'vue';
import { createSidebar, type SidebarOptions } from '../../../features/sidebar/helpers/create-sidebar.js';
type Sidebar = ReturnType<typeof createSidebar>;
/**
 * Injection key for the sidebar instance.
 * This ensures type safety when injecting the sidebar.
 */
export declare const SIDEBAR_SYMBOL: InjectionKey<Sidebar>;
type UseSidebar = {
    (): Sidebar;
    (content: Ref<OpenAPIV3_1.Document>, options: SidebarOptions): Sidebar;
};
/**
 * Composable for managing the sidebar state.
 *
 * When called with a collection and options, it creates and provides a new sidebar instance.
 * When called without parameters, it returns the injected sidebar state.
 */
export declare const useSidebar: UseSidebar;
export {};
//# sourceMappingURL=useSidebar.d.ts.map