import { Logger, LoggerOptions } from './types.js'; /** * create logger * @param options {@link LoggerOptions} * @returns instance of logger * @example * * // assuming pui-diagnostics javascript is added already to your HTML document * const { logger, http, logUnhandledErrors, webvitals } = window.emuiDiagnostics || {}; * if (logger) { * const appLogger = logger({ * transport: http('https://int.api.ellielabs.com/diagnostics/v2/logging'), * index: 'myapp', * team: 'my team', * appName: 'Hello World App', * }); * webvitals(appLogger); * logUnhandledErrors(appLogger); * appLogger.info('application launched'); * } else console.warn('ui logger missing'); */ export declare const logger: (options: LoggerOptions) => Logger;