UNPKG

hatch-slidev-builder-mcp

Version:

A comprehensive MCP server for creating Slidev presentations with component library, interactive elements, and team collaboration features

38 lines (37 loc) 1.11 kB
/** * Arguments for installing a component from a remote source or package */ export interface InstallComponentArgs { /** Component source (URL, npm package, or local path) */ source: string; /** Target directory to install component to */ targetPath: string; /** Component identifier override (if different from source) */ componentId?: string; /** Installation options */ options?: { /** Force overwrite if component already exists */ force?: boolean; /** Install as development/testing component */ dev?: boolean; /** Custom scope for the component */ scope?: 'hatch' | 'public' | 'personal'; }; } /** * Install a component from various sources (npm, git, local path, or URL) * Supports installing components into the local component library */ export declare function installComponent(args: InstallComponentArgs): Promise<{ content: { type: string; text: string; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>;