import ts from 'typescript'; export declare function parse(fileName: string, content: string): ts.SourceFile; export declare function getNearestComponentClassDeclaration(targetNode: ts.Node): ts.ClassDeclaration | undefined; export declare function getInterfaceByIdentifier(sourceFile: ts.SourceFile, targetIdentifier: ts.Identifier): ts.InterfaceDeclaration | undefined; export declare function getClassNameFromClassDeclaration(classDeclaration: ts.ClassDeclaration): string | undefined; /** * Finds the identifier node for the component super class * @param sourceFile parsed ts source file * @returns ts.Identifier */ export declare function getIdentifierForComponent(classDeclaration: ts.ClassDeclaration): ts.Identifier | undefined; export declare function getComponentSignatureName(classDeclaration: ts.ClassDeclaration): string | undefined; /** * Check the default export component class for an interface on the Component * @param sourceFile * @returns */ export declare function hasComponentSignature(classDeclaration: ts.ClassDeclaration): boolean; export declare function getComponentSignatureInterfaceNode(sourceFile: ts.SourceFile, classDeclaration: ts.ClassDeclaration): ts.InterfaceDeclaration | undefined; type ComponentSignatureInterfaceProperty = 'Args' | 'Element' | 'Blocks'; export declare function hasPropertyOnComponentSignatureInterface(i: ts.InterfaceDeclaration, targetProperty: ComponentSignatureInterfaceProperty): boolean; export declare function getPropertyOnComponentSignatureInterface(i: ts.InterfaceDeclaration, targetProperty: ComponentSignatureInterfaceProperty): ts.PropertySignature | undefined; export declare function getJSDocExtendsTagWithSignature(classDeclaration: ts.ClassDeclaration): string | undefined; export type LikeTemplateOnlyComponentVariableDeclaration = ts.VariableLikeDeclaration & { type?: ts.TypeReferenceNode & { typeName: ts.Identifier; }; }; export declare function getNearestTemplateOnlyComponentVariableDeclaration(targetNode: ts.Node, identifierName?: string): LikeTemplateOnlyComponentVariableDeclaration | undefined; export declare function getComponentSignatureNameFromTemplateOnlyComponent(target: ts.Node, identifierName?: string): ts.Identifier | undefined; export {}; //# sourceMappingURL=glint-parsing-utils.d.ts.map