/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ import ts from 'typescript'; export declare const getTypeChecker: (filename: string, source: string) => TypeChecker; /** * Wrap ts.TypeChecker so we can provide a consistent and scoped API for the * compiler. */ declare class TypeChecker { private checker; constructor(typeChecker: ts.TypeChecker); /** * Use this method to find out if the passed in tagged template expression a * compilable `lit` html template. * * The logic is strict, only marking a template compilable if it is * * @param node tagged template expression * @returns if the tagged template expression is a lit template that can be * compiled. */ isLitHtmlTaggedTemplateExpression(node: ts.TaggedTemplateExpression): boolean; } export {}; //# sourceMappingURL=type-checker.d.ts.map