import type { LogLevel } from '@forgerock/sdk-logger'; import type { CollectParameters, DeviceProfileData, Geolocation, ProfileConfigOptions } from './interfaces.js'; /** * @class JourneyDevice - Collects user device metadata. * * Example: * * ```js * // Instantiate new device object (w/optional config, if needed) * const device = new Device({ * // optional configuration * }); * * // Call getProfile with required argument obj of boolean properties * // of location and metadata * const profile = await device.getProfile({ * location: isLocationRequired, * metadata: isMetadataRequired, * }); * ``` */ export declare class Device { private config; private logger; private prefix; constructor(configOptions?: ProfileConfigOptions, logLevel?: LogLevel, prefix?: string); getBrowserMeta(): Record; getBrowserPluginsNames(): string; getDeviceName(): string; getDisplayMeta(): { [key: string]: string | number | null; }; getHardwareMeta(): Record; getIdentifier(): string; getInstalledFonts(): string; getLocationCoordinates(): Promise>; getOSMeta(): Record; getTimezoneOffset(): number | null; getProfile({ location, metadata }: CollectParameters): Promise; } export type { CollectParameters, DeviceProfileData, Geolocation, ProfileConfigOptions, } from './interfaces.js'; //# sourceMappingURL=device-profile.d.ts.map