import { IterableX } from '../iterablex.js'; import { MonoTypeOperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class FinallyIterable extends IterableX { private _source; private _action; constructor(source: Iterable, action: () => void); [Symbol.iterator](): Generator; } /** * Invokes a specified asynchronous action after the source iterable sequence terminates gracefully or exceptionally. * * @template TSource The type of the elements in the source sequence. * @param {(() => void)} action Action to invoke and await asynchronously after the source iterable sequence terminates * @returns {MonoTypeOperatorFunction} An operator that returns the source sequence with the * action-invoking termination behavior applied. */ export declare function finalize(action: () => void): MonoTypeOperatorFunction;