import type { Immutable } from '~/models/immutable'; type Message = Immutable; export type Messages = readonly Message[]; type LoggingFunction = (...msgs: Messages) => void; export type LoggingService = { log: LoggingFunction; error: LoggingFunction; warn: LoggingFunction; info: LoggingFunction; success?: LoggingFunction; };