import type { AddressDefinitions } from './address'; import type { AnimalDefinitions } from './animal'; import type { CommerceDefinitions } from './commerce'; import type { CompanyDefinitions } from './company'; import type { DatabaseDefinitions } from './database'; import type { DateDefinitions } from './date'; import type { FinanceDefinitions } from './finance'; import type { HackerDefinitions } from './hacker'; import type { InternetDefinitions } from './internet'; import type { LoremDefinitions } from './lorem'; import type { MusicDefinitions } from './music'; import type { NameDefinitions } from './name'; import type { PhoneNumberDefinitions } from './phone_number'; import type { SystemDefinitions } from './system'; import type { VehicleDefinitions } from './vehicle'; import type { WordDefinitions } from './word'; /** * The definitions as used by the Faker modules. */ interface Definitions { address: AddressDefinitions; animal: AnimalDefinitions; commerce: CommerceDefinitions; company: CompanyDefinitions; database: DatabaseDefinitions; date: DateDefinitions; finance: FinanceDefinitions; hacker: HackerDefinitions; internet: InternetDefinitions; lorem: LoremDefinitions; music: MusicDefinitions; name: NameDefinitions; phone_number: PhoneNumberDefinitions; system: SystemDefinitions; vehicle: VehicleDefinitions; word: WordDefinitions; } /** * The definitions as used by the translations/locales. * This is basically the same as Definitions with the exception, * that most properties are optional and extra properties are allowed. */ export declare type LocaleDefinition = { /** * The name of the language. */ title: string; separator?: string; } & { [module in keyof Definitions]?: Partial; } & { [group: string]: any; }; /** * Internal: Compatibility type to ensure all modules have access to fallback locales. * This should be replaced with a Proxy based property access * that don't require prior getter generation in the future. */ export declare type DefinitionTypes = { readonly title: 'metadata'; readonly separator: 'metadata'; } & { readonly [module in keyof Definitions]: Array; }; /** * Internal: List off all modules and their properties, * that needs to have a fallback generated in Faker.loadDefinitions(). */ export declare const DEFINITIONS: DefinitionTypes; export {};