UNPKG

@sourcebot/mcp

Version:

[![Sourcebot](https://img.shields.io/badge/Website-sourcebot.dev-blue)](https://sourcebot.dev) [![GitHub](https://img.shields.io/badge/GitHub-sourcebot--dev%2Fsourcebot-green?logo=github)](https://github.com/sourcebot-dev/sourcebot) [![Docs](https://img.s

11 lines (10 loc) 630 B
import { ListTreeApiNode, ListTreeEntry, ServiceError } from "./types.js"; export declare const isServiceError: (data: unknown) => data is ServiceError; export declare class ServiceErrorException extends Error { readonly serviceError: ServiceError; constructor(serviceError: ServiceError); } export declare const normalizeTreePath: (path: string) => string; export declare const joinTreePath: (parentPath: string, name: string) => string; export declare const buildTreeNodeIndex: (root: ListTreeApiNode) => Map<string, ListTreeApiNode>; export declare const sortTreeEntries: (entries: ListTreeEntry[]) => ListTreeEntry[];