export declare const SUPPORTED_LANGS: readonly ["ts", "tsx", "js", "rust", "graphql", "python", "go", "json", "toml", "yaml"]; export type SupportedLang = typeof SUPPORTED_LANGS[number]; export declare const SUPPORTED_STRUCTURED_FORMATS: readonly ["ts", "tsx", "js", "rust", "graphql", "python", "go", "json", "toml", "yaml", "md", "xml"]; export type SupportedStructuredFormat = typeof SUPPORTED_STRUCTURED_FORMATS[number]; export declare const SUPPORTED_OUTLINE_FORMATS: readonly ["ts", "tsx", "js", "rust", "graphql", "python", "go", "json", "toml", "yaml", "md"]; export type SupportedOutlineFormat = typeof SUPPORTED_OUTLINE_FORMATS[number]; export declare function isSupportedLang(value: string): value is SupportedLang; export declare function isSupportedStructuredFormat(value: string): value is SupportedStructuredFormat; export declare function isSupportedOutlineFormat(value: string): value is SupportedOutlineFormat; /** * Detect the tree-sitter language from a file suffix. * Returns null for unsupported file types. */ export declare function detectLang(filePath: string): SupportedLang | null; /** * Detect the supported structured format for bounded read surfaces. * Returns null for file types that still have no explicit extractor. */ export declare function detectStructuredFormat(filePath: string): SupportedStructuredFormat | null; /** * Detect formats that support outline extraction for bounded read surfaces. * Syntax-only formats, such as XML/SVG, intentionally return null here. */ export declare function detectOutlineFormat(filePath: string): SupportedOutlineFormat | null; //# sourceMappingURL=lang.d.ts.map