import { type PeerCertificate } from 'node:tls'; import { type EventFormat, LiveLogMessage } from './sse-io.js'; export declare const logLevels: { readonly trace: { readonly value: 100; readonly color: import("chalk").ChalkInstance; }; readonly debug: { readonly value: 200; readonly color: import("chalk").ChalkInstance; }; readonly info: { readonly value: 300; readonly color: import("chalk").ChalkInstance; }; readonly warn: { readonly value: 400; readonly color: import("chalk").ChalkInstance; }; readonly error: { readonly value: 500; readonly color: import("chalk").ChalkInstance; }; readonly fatal: { readonly value: 600; readonly color: import("chalk").ChalkInstance; }; readonly print: { readonly value: 1000; readonly color: import("chalk").ChalkInstance; }; }; export type LogLevel = keyof typeof logLevels; export type DriverInfo = { /** * A UUID for this driver * */ driver_id: string; /** * The human readable name of this driver * */ driver_name: string; /** * If installed, the sha256 hash of the archive that was downloaded * */ archive_hash?: string | null; /** * The current status of this driver * */ status: string; }; export declare const liveLogMessageFormatter: (event: LiveLogMessage) => EventFormat; export declare const parseIpAndPort: (address: string) => [string, string | undefined]; export declare const handleConnectionErrors: (authority: string, error: string) => never | void; export declare const networkEnvironmentInfo: () => string; export declare const scrubAuthInfo: (obj: object) => string; /** * Expected to manually verify the connected host (similar to overriding tls.checkServerIdentity) * by means that LiveLogClient isn't aware of ahead of time. */ export type HostVerifier = (cert: PeerCertificate) => Promise; //# sourceMappingURL=live-logging.d.ts.map