export { assertAbsolute }; export type { AbsolutePath }; /** * To avoid confusion between relative (current working directory) * and absolute (start from root) paths, we can use branded types to distinguish them. * * @typedef {AbsolutePath} */ type AbsolutePath = string & { readonly __brand: 'AbsolutePath'; }; declare function assertAbsolute(p: string): AbsolutePath;