UNPKG

@lime.it/blip-core

Version:

Blip cli basic abstractions and functionalities

19 lines (18 loc) 560 B
export interface EtcHostsContent { comments: string[]; mappings: { [key: string]: string; }; } export declare class EtcHosts { private content; constructor(content: EtcHostsContent); static create(): Promise<EtcHosts>; flush(): Promise<void>; address(domain: string): string | null; domains(address: string): string[]; addMapping(domain: string, address: string): void; removeMapping(domain: string, address: string): void; removeDomain(domain: string): void; removeAddress(address: string): void; }