import { Types } from './Types.js'; import { Random } from './Random.js'; import { Person } from './Person.js'; import { Word } from './Word.js'; import { IDataMockInit, IInternetEmailInit, IInternetUsernameInit } from '../Types.js'; import { DataMockLocale } from '../../locales/Types.js'; export declare const randomValue: unique symbol; export declare const typesValue: unique symbol; export declare const localeValue: unique symbol; export declare const wordValue: unique symbol; export declare const personValue: unique symbol; /** * A library that specializes in generating internet related values. */ export declare class Internet { [typesValue]: Types; [randomValue]: Random; [personValue]: Person; [wordValue]: Word; [localeValue]: DataMockLocale; /** * @param init The library init options. */ constructor(init?: IDataMockInit); seed(value?: number): void; /** * @param locale The locale to set. When nothing is passed then it uses the default locale. */ locale(locale?: DataMockLocale): void; /** * @return A random URL for an avatar. */ avatar(): string; /** * @returns generated user email */ email(init?: IInternetEmailInit): string; /** * @returns Generated email for an example domain. */ exampleEmail(init?: IInternetUsernameInit): string; /** * @returns Generated username. */ userName(init?: IInternetUsernameInit): string; /** * @returns Pick a protocol. */ protocol(): string; /** * @param withPayload Whether the request can have a payload (body) or not. * When not set it returns one of all possible. * @returns Pick on of a default HTTP methods. */ httpMethod(withPayload?: boolean): string; /** * @returns A random URI. */ uri(): string; /** * @returns A random domain. */ domain(): string; /** * @returns A random name for a domain. */ domainName(): string; /** * @returns A random suffix for a domain. */ domainSuffix(): string; /** * @returns A random IP address */ ip(): string; /** * @returns A random v6 IP address */ ipv6(): string; /** * @returns A random port number; */ port(): number; color(red?: number, green?: number, blue?: number): string; /** * @returns A web browser name. */ browser(): string; } //# sourceMappingURL=Internet.d.ts.map