import { IterableX } from '../iterablex.js'; import { MonoTypeOperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class DefaultIfEmptyIterable extends IterableX { private _source; private _defaultValue; constructor(source: Iterable, defaultValue: TSource); [Symbol.iterator](): Generator; } /** * Returns the elements of the specified sequence or the default value in a singleton sequence * if the sequence is empty. * * @template T The type of elements in the source sequence. * @param {T} defaultValue The value to return if the sequence is empty. * @returns {MonoTypeOperatorFunction} An operator which returns the elements of the source sequence or the default value as a singleton. */ export declare function defaultIfEmpty(defaultValue: T): MonoTypeOperatorFunction;