/** * Returns a tuple containing the first element of the given iterable and a new iterable for the remaining elements. * * @typeParam T - The type of elements in the source iterable. * @param src - The source iterable to extract the head and tail from. * @returns A readonly tuple where the first element is the head (first item) and the second element is an iterable of the tail (remaining items). * @throws {Error} If the source iterable is empty. */ export declare const headTail: (src: Iterable) => readonly [T, Iterable];