import 'reflect-metadata'; import { Subject } from 'rxjs'; export declare const UtilsEtcHosts__NS__SIMULATE_DOMAIN_TAG = "@simulatedDomainByTaon"; export interface UtilsEtcHosts__NS__EtchostEntry { lineIp: string; domains: string[]; comment: string; } export declare const UtilsEtcHosts__NS__getPath: () => string; export declare const UtilsEtcHosts__NS__getLines: () => string[]; export declare const UtilsEtcHosts__NS__getTokensData: (line: string) => { comment: string; domains: string[]; lineIp: string; }; export declare const UtilsEtcHosts__NS__specificEntryExists: (domain: string, ip: string) => boolean; export declare const UtilsEtcHosts__NS__getEntriesByDomain: (domain: string) => UtilsEtcHosts__NS__EtchostEntry[]; export declare const UtilsEtcHosts__NS__getEntryByComment: (commentOfEntry: string) => UtilsEtcHosts__NS__EtchostEntry[]; /** * Returns all host entries for a given IP address. */ export declare const UtilsEtcHosts__NS__getEntriesByIp: (ip: string) => UtilsEtcHosts__NS__EtchostEntry[]; export declare const UtilsEtcHosts__NS__removeEntryByDomain: (domain: string) => void; export declare const UtilsEtcHosts__NS__simulateDomain: (domainOrDomains: string | string[], options?: { triggerRevertChangesToEtcHosts?: Subject; }) => Promise;