/******************************************************************************** * Copyright (c) 2026 CrossBreeze, EclipseSource and others. * * This program and the accompanying materials are made available under the * terms of the MIT License which is available in the project root. * * SPDX-License-Identifier: MIT ********************************************************************************/ /** Minimal fake `OutputChannel` that captures appended lines into an array. */ export interface StubOutputChannel { readonly name: string; readonly lines: string[]; appendLine(line: string): void; } /** * Minimal fake `OutputChannelManager` handing out {@link StubOutputChannel}s. * Use in unit tests of `ChannelLogger` (and its subclasses) and of any consumer * that injects an output channel. */ export interface StubOutputChannelManager { readonly channels: ReadonlyMap; getChannel(name: string): StubOutputChannel; } export declare function makeStubOutputChannelManager(): StubOutputChannelManager; //# sourceMappingURL=stub-output-channel.d.ts.map