/** * @copyright Sister Software * @license MIT * @author Teffen Ellis, et al. */ import type { PathBuilder, UnwrapPathBuilder } from "./path-builder.js"; import type { IsAbsolute } from "./type-utils.js"; /** * Whether a path starts at the root. POSIX semantics, so only a leading `/` counts — a Windows drive letter is an * ordinary segment here. * * @returns `true` or `false` as a literal when the path is one; `boolean` for a plain `string`. */ export declare function isAbsolute(path: T): string extends UnwrapPathBuilder ? boolean : IsAbsolute>; export default isAbsolute; //# sourceMappingURL=is-absolute.d.ts.map