/** * Default file type definitions for Doc Detective. * These are pure data definitions with no Node.js dependencies, * shared by both core and vscode extension. */ export interface FileType { name?: string; extensions: string[]; inlineStatements?: { testStart?: string[]; testEnd?: string[]; ignoreStart?: string[]; ignoreEnd?: string[]; step?: string[]; }; markup?: Array<{ name?: string; regex: string[]; actions?: (string | Record)[]; batchMatches?: boolean; }>; runShell?: Record; } /** * Default file type definitions, including keyword aliases. * Keys include both versioned names (e.g. "markdown_1_0") and * short aliases (e.g. "markdown"). */ export declare const defaultFileTypes: Record; /** * Infers a file type from content when no file type or extension is available. * Checks for DITA XML, HTML, and AsciiDoc markers before defaulting to Markdown. */ export declare function detectFileTypeFromContent(content: string): FileType; //# sourceMappingURL=fileTypes.d.ts.map