import { type Logger } from "webappwiz/log"; import type { Fs } from "../fs/fs.js"; import type { Ps } from "../ps/ps.js"; import type { HostMapper } from "./host-mapper.js"; /** What a `FileHostMapper` works through; the real ones by default. */ export interface FileHostMapperOptions { fs?: Fs; ps?: Ps; log?: Logger; } export declare class FileHostMapper implements HostMapper { private readonly path; private readonly fs; private readonly ps; private readonly log; constructor(path: string, opts?: FileHostMapperOptions); static default(opts?: FileHostMapperOptions): FileHostMapper; map(hostname: string, ip: string): Promise; private writeHostFileUnix; }