export interface Message { readonly action: string; readonly message: string; } export declare class Log { service: SyncLoggingService; constructor(service: SyncLoggingService); private log; error(message: string): void; warning(message: string): void; info(message: string): void; debug(message: string): void; } /** * Synchronously logs messages and notifies consumers. */ export declare class SyncLoggingService { private _log; private _consumers; readonly log: Log; /** * Constructor */ constructor(); /** * Connects a consumer to the services */ connect(name: string, callback: (action: string, message: string) => void): void; /** * Disconnects a consumer from the services */ disconnect(name: string): boolean; /** * Notify the user via the snackbar. */ notify(message: Message): void; }