import { OptionalFindOptions } from './findoptions'; /** * Returns the only element of an iterable sequence that matches the predicate if specified, * or undefined if no such element exists; this method reports an exception if there is more * than one element in the iterable sequence. * * @export * @template T The type of the elements in the source sequence. * @param {AsyncIterable} source Source iterable sequence. * @param {OptionalFindOptions} [options] The optional options which includes a predicate for filtering, * and thisArg for predicate binding. * @returns {(T | undefined)} The single element in the iterable sequence that satisfies * the condition in the predicate, or undefined if no such element exists. */ export declare function single(source: Iterable, options?: OptionalFindOptions): T | undefined;