export declare function removePartOfEndOfPath(tsPath: string, toRemove: Array): Array; export declare function removePartOfPath(path: Array, parts: Array): string; export declare function getLastItemFromPath(p: string): string; export declare function getFilenameFromPath(p: string): string; export interface PackageJSON { contents: Record; path: string; } export declare function findPackageJSON(basePath: string): PackageJSON | undefined; export declare function getRepository(packageJSON: PackageJSON, branchName?: string): string | undefined; export declare function getBranchName(path: string): string | undefined; export declare function getReadme(dir: string): string | undefined; export declare function hasBit(num: number, bit: number): boolean; export interface ProjectMetadata { readme?: string; homepage?: string; version?: string; repository?: string; } export declare function extractMetadata(directory: string): ProjectMetadata; //# sourceMappingURL=utils.d.ts.map