// Path class replacement for the Deno Path class
export declare class Path {
  string: string;
  constructor(pathStr: string);
  static home(): Path;
  join(parts: string[]): Path;
  isDirectory(): boolean;
  exists(): boolean;
  parent(): Path;
  basename(): string;
  relative({ to }: { to: Path }): string;
  ls(): AsyncGenerator<readonly [Path, { name: string, isDirectory: boolean, isSymlink: boolean }], void, unknown>;
}