import * as dntShim from "../../../../_dnt.shims.js";
/**
 * Test whether or not `dest` is a sub-directory of `src`
 * @param src src file path
 * @param dest dest file path
 * @param sep path separator
 */
export declare function isSubdir(src: string | URL, dest: string | URL, sep?: string): boolean;
export type PathType = "file" | "dir" | "symlink";
/**
 * Get a human readable file type string.
 *
 * @param fileInfo A FileInfo describes a file and is returned by `stat`,
 *                 `lstat`
 */
export declare function getFileInfoType(fileInfo: dntShim.Deno.FileInfo): PathType | undefined;
export interface WalkEntry extends dntShim.Deno.DirEntry {
    path: string;
}
/** Create WalkEntry for the `path` synchronously */
export declare function createWalkEntrySync(path: string | URL): WalkEntry;
/** Create WalkEntry for the `path` asynchronously */
export declare function createWalkEntry(path: string | URL): Promise<WalkEntry>;
export declare function toPathString(path: string | URL): string;
