import { SyntaxKind, Node, StringLiteral, CallExpression, JsxOpeningElement } from 'ts-morph'; import { IsAny } from '@sourcegraph/codemod-common'; import { CreateSourceFileResult } from './createSourceFile'; interface CreateNodeOfKindResult extends CreateSourceFileResult { node: IsAny extends true ? Node : TDescendant; } export declare function createNodeOfKind(fileSource: string, kind: SyntaxKind): CreateNodeOfKindResult; export declare function createStringLiteral(fileSource: string): StringLiteral; export declare function createCallExpression(fileSource: string): CallExpression; export declare function createJsxOpeningElement(fileSource: string): JsxOpeningElement; export {};