import type { ChangeSignal } from "../store/changeSignal.js"; import type { DevtoolsLogs, DevtoolsLatency } from "./types.js"; import { type LogBus } from "./logBus.js"; /** @internal */ export declare function formatLogArg(arg: unknown): string; /** Format an array of console arguments into a single truncated log message string. */ export declare function formatLogMessage(args: readonly unknown[]): string; /** Logs subsystem exposing the log-capture and latency-tracking facades. */ export interface LogsModule { logs: DevtoolsLogs; latency: DevtoolsLatency; /** The ring the facade writes through, for a reporter that needs the whole window at once. */ bus: LogBus; } /** Create the logs subsystem that buffers captured console output and records latency samples. */ export declare const createLogsModule: (deps: { signal: ChangeSignal; }) => LogsModule;