@wonderwhy-er/desktop-commander
Version:
MCP server for terminal operations and file editing
6 lines (5 loc) • 364 B
TypeScript
export type PreviewFileType = 'markdown' | 'text' | 'html' | 'image' | 'directory' | 'unsupported';
export declare const MARKDOWN_PREVIEW_EXTENSIONS: Set<string>;
export declare const HTML_PREVIEW_EXTENSIONS: Set<string>;
export declare const TEXT_PREVIEW_EXTENSIONS: Set<string>;
export declare function resolvePreviewFileType(filePath: string): PreviewFileType;