import { Console } from '@hackbg/logs'; export interface PathCtor { new (...fragments: string[]): T; } export type ToPath = string | URL | Path; export declare class Path { static separator: "/" | "\\"; constructor(base?: ToPath, ...fragments: string[]); get [Symbol.toStringTag](): string; log: Console; /** The resolved absolute filesystem path represented by this object. */ absolute: string; /** @returns this.absolute represented as a file:/// URL */ get url(): URL; /** @returns name of this file or directory. */ get name(): string; /** @returns absolute path to parent directory. */ get dirname(): string; /** @returns name of this file or directory. */ basename(ext?: string): string; get short(): string; relativeFrom(base?: string): string; relativeTo(target?: string): string; resolve(...fragments: string[]): string; make(): this; entrypoint(command: (argv: string[]) => T): T | undefined; } //# sourceMappingURL=file-core.d.ts.map