import { IterableX } from './iterablex'; /** * Converts an existing string into an iterable of characters. * * @export * @param {string} source The string to convert to an iterable. * @returns {IterableX} An terable stream of characters from the source. */ export declare function as(source: string): IterableX; /** * Converts the iterable like input into an iterable. * * @export * @template T The tyep of elements in the source iterable. * @param {Iterable} source The iterable to convert to an iterable. * @returns {IterableX} An iterable stream of the source sequence. */ export declare function as(source: Iterable): IterableX; /** * Converts an array-like object to an iterable. * * @export * @template T The type of elements in the source array-like sequence. * @param {ArrayLike} source The array-like sequence to convert to an iterable. * @returns {IterableX} The iterable containing the elements from the array-like sequence. */ export declare function as(source: ArrayLike): IterableX; /** * Converts the object into a singleton in an iterable sequence. * * @export * @template T The type of element to turn into an iterable sequence. * @param {T} source The item to turn into an iterable sequence. * @returns {IterableX} An iterable sequence from the source object. */ export declare function as(source: T): IterableX;