import type { LogRecord, RuntimeLogLevel, TimestampMode } from "./types.js"; export interface NormalizedLogArgs { record?: LogRecord; message?: string; } export interface BaseRecordOptions { timestamp: TimestampMode; pid: number; hostname: string; bindings: LogRecord; context?: LogRecord; mixin?: LogRecord; } export declare function normalizeLogArgs(args: unknown[]): NormalizedLogArgs; export declare function buildLogRecord(levelName: RuntimeLogLevel, args: NormalizedLogArgs, options: BaseRecordOptions): LogRecord; export declare function serializeJsonRecord(record: LogRecord): string;