import ts from "typescript"; /** * The union of valid AST nodes within a JSDoc. * * @group Utilities */ export type JSDocNode = ts.JSDoc | ts.JSDocTag | ts.JSDocComment | string; /** * Get an array of {@link ts.JSDocTag} elements by name, selected by the name of * the tag. * * @group Utilities */ export declare function getJSDocTagsByName(node: ts.Node, name: string): readonly ts.JSDocTag[]; /** * Returns true if the named tag is present in the JSDoc content for the given * node. * * @group Utilities */ export declare function hasJSDocTag(node: ts.Node, name: string): boolean; /** * Get the combined contents of {@link ts.JSDocTag} elements, selected by the * name of the tag. * * @group Utilities */ export declare function getJSDocTagContentByName(node: ts.Node, name: string): readonly JSDocNode[] | undefined; /** * Returns true if the node is a {@link ts.JSDocText}. * * @group Utilities */ export declare function isJSDocText(x: ts.Node): x is ts.JSDocText; /** * Returns true if the node is a JSDoc node that has a `comment` property. * * @group Utilities */ export declare function isJSDocNodeWithComment(x: ts.Node): x is ts.JSDoc | ts.JSDocParameterTag | ts.JSDocSeeTag; //# sourceMappingURL=JSDocNode.d.ts.map