@sourcebot/mcp
Version:
[](https://sourcebot.dev) [](https://github.com/sourcebot-dev/sourcebot) [ • 630 B
TypeScript
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[];