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