import type ts from "typescript"; /** * Convert property name node into a string. Converts Identifier and * StringLiteralLike nodes. Handles symbols like [Symbol.iterator]. For the * rest, returns undefined. * * @param name */ export function getMemberName(name?: ts.PropertyName): string | undefined; /** * @param specifier * @example * ```js * getPackageNameFromExternalSpecifier("@esri/calcite-components/components/calcite-button") * // "@esri/calcite-components" * ``` */ export function getPackageNameFromExternalSpecifier(specifier: string): string; /** * Remove the extension from a file path. In most cases, removes only the last * dot segment, but also removes `.d` in case of `.d.ts` * * @param path */ export function getBasename(path: string): string;