@scalar/api-client
Version:
the open source API testing client
10 lines • 518 B
TypeScript
import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import { type MaybeRefOrGetter } from 'vue';
/**
* Creates the search index from multiple OpenAPI documents
*/
export declare const useSearchIndex: (documents: MaybeRefOrGetter<OpenApiDocument[]>) => {
results: import("vue").ComputedRef<import("@scalar/workspace-store/schemas/navigation").TraversedEntry[] | null>;
query: import("vue").Ref<string, string>;
};
//# sourceMappingURL=use-search-index.d.ts.map