/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
export interface DiagnosticMessageLike {
    level: number;
}
interface LoggerLike {
    format: string;
    destinations: Record<string, {
        write(text: string, message: DiagnosticMessageLike): void;
    }>;
}
export interface MockLogger {
    emitAll: boolean;
    injectExternalMessage: (source: string, text: string) => void;
}
export declare const MockLogger: MockLogger;
/**
 * These functions are invoked by beforeEach/afterEach handlers in generalSetup for Mocha.
 *
 * We place them in an array here rather than calling the global hook functions so that load order doesn't matter.  We
 * use an array so that if multiple Logger classes are created (e.g. one for CJS and one for ESM) we don't have to worry
 * about which logger is doing the logging.
 */
export declare const LoggerHooks: {
    beforeEach: ((mocha: Mocha) => void)[];
    afterEach: ((mocha: Mocha) => void)[];
};
export declare function loggerSetup(Logger: LoggerLike): void;
export {};
//# sourceMappingURL=logging.d.ts.map