import type { ServiceChildNode, ServiceNode } from '@/types'; import type { TableOfContentsItem } from '../../../elements-core/components/Docs/types'; import type { OperationNode, SchemaNode, WebhookNode } from '../../utils/oas/types'; declare type GroupableNode = OperationNode | WebhookNode | SchemaNode; export declare type TagGroup = { title: string; items: T[]; initiallyExpanded: boolean; }; export declare function computeTagGroups(serviceNode: ServiceNode, nodeType: T['type'], currentPath: string): { groups: TagGroup[]; ungrouped: T[]; }; interface ComputeAPITreeConfig { hideSchemas?: boolean; hideInternal?: boolean; currentPath?: string; hideDeprecated?: boolean; } export declare const computeAPITree: (serviceNode: ServiceNode, config?: ComputeAPITreeConfig) => import("../../../elements-core/components/Docs/types").TableOfContentsGroupItem[]; export declare const findFirstNodeSlug: (tree: TableOfContentsItem[]) => string | void; export declare const isInternal: (node: ServiceChildNode | ServiceNode) => boolean; export {};