export type LogModuleEntry = { ts: string; type: "info" | "error"; args: unknown[]; } | { ts: string; type: "event"; name: string; payload: unknown; }; export type LogModuleSink = (entry: LogModuleEntry) => void; export declare function makeLogModule(sink?: LogModuleSink): { info: (...args: unknown[]) => void; error: (...args: unknown[]) => void; event: (name: string, payload: unknown) => void; };