import type { createSidebar } from '../../../features/sidebar';
import type { FuseResult } from 'fuse.js';
import type { FuseData } from '../types';
/**
 * Creates the search index from an OpenAPI document.
 */
export declare function useSearchIndex(items: ReturnType<typeof createSidebar>['items']): {
    resetSearch: () => void;
    selectedIndex: import("vue").Ref<number | undefined, number | undefined>;
    selectedSearchResult: import("vue").ComputedRef<FuseResult<FuseData> | undefined>;
    searchResultsWithPlaceholderResults: import("vue").ComputedRef<FuseResult<FuseData>[]>;
    query: import("vue").Ref<string, string>;
};
//# sourceMappingURL=useSearchIndex.d.ts.map