import type { OpenAPIV3_1 } from '@scalar/openapi-types';
import type { TraverseSpecOptions, TraversedEntry } from '../../../features/traverse-schema/types';
/**
 * Travers the OpenAPI Document and ensure we only do it once
 *
 * We are generating the following:
 * - the sidebar
 * - the search index (todo)
 *
 * Currently its called by createSidebar, but we can move this into the de-reference process as a plugin for even more gains
 */
export declare const traverseDocument: (document: OpenAPIV3_1.Document, { config, getHeadingId, getOperationId, getWebhookId, getModelId, getTagId }: TraverseSpecOptions) => {
    entries: TraversedEntry[];
    titles: Map<string, string>;
};
//# sourceMappingURL=traverse-document.d.ts.map