import type { AnyIterable } from "../../types"; /** * Checks if an input iterable is empty. * Returns a promise that resolves to a boolean value. * * @group Greedy helpers * @returns A function that accepts an input iterable and returns a promise that resolves to a boolean value. * * @example * ```ts * const input = [1, 2, 3]; * const empty = isEmpty()(input); * * (async () => { * console.log(await empty); // Logs false * })(); * ``` */ export declare const isEmpty: () => (input: AnyIterable) => Promise; /** * Checks if an input sync iterable is empty. * Returns a boolean value. * * @group Greedy helpers * @returns A function that accepts an input sync iterable and returns a boolean value. * * @example * ```ts * const input = [1, 2, 3]; * const empty = isEmptySync()(input); * console.log(empty); // Logs false * ``` * * @remarks * Available as `isEmpty` when imported from `peter-piper/sync`. */ export declare const isEmptySync: () => (input: Iterable) => boolean;