/** * Strip string literals (single-quote, double-quote, and template — including * `${}` interpolations and nested templates) plus comments (line and block) * from TypeScript/JavaScript source, returning only the code that lives * outside those contexts. * * Heuristic content checks — e.g. "is this a real Angular `@Component` * source?" — must run against the result, not the raw text. A naive regex * strip mis-pairs quotes whenever a quote or backtick appears inside a * differently-quoted string or a comment (inline-code backticks in JSDoc, an * apostrophe in a comment, a backtick inside a single-quoted string), leaving * the matched text behind and producing false positives. * * Regex literals are intentionally left intact: telling `/` division apart * from a regex needs a full parser, and their contents have never mattered for * the checks this supports. */ export declare const stripStringsAndComments: (source: string) => string;