honkit
Version:
HonKit is building beautiful books using Markdown.
21 lines • 827 B
TypeScript
declare function normalizePath(filename: any): string;
declare function isInRoot(root: any, filename: any): boolean;
declare function resolveInRoot(root: any): string;
declare function setExtension(filename: any, ext: any): string;
declare function isPureRelative(filename: any): boolean;
/**
* Try to resolve package name
* if `packageName` is found, return resolved absolute path.
* if `packageName` is not found, return `undefined`
**/
declare function tryResolve(packageName: string): string | undefined;
declare const _default: {
isInRoot: typeof isInRoot;
resolveInRoot: typeof resolveInRoot;
normalize: typeof normalizePath;
setExtension: typeof setExtension;
isPureRelative: typeof isPureRelative;
tryResolve: typeof tryResolve;
};
export default _default;
//# sourceMappingURL=path.d.ts.map