import { LogTags } from '@camstack/types';
import { ServiceBroker } from 'moleculer';
interface LogEntry {
    timestamp: Date;
    level: string;
    scope?: string;
    message: string;
    meta?: Record<string, unknown>;
    tags?: LogTags;
}
/**
 * Hub Log Forwarder — forwards log entries to the hub via $hub.log.
 *
 * Listens for Moleculer node discovery events. When the hub node
 * connects, forwarding activates. When it disconnects, forwarding
 * pauses and resumes on reconnect. No timeouts — fully event-driven.
 */
declare class HubLogForwarder {
    private readonly broker;
    private connected;
    constructor(broker: ServiceBroker);
    initialize(): Promise<void>;
    write(entry: LogEntry): void;
    shutdown(): Promise<void>;
}
export { HubLogForwarder };
//# sourceMappingURL=hub-log-forwarder.d.ts.map