/** * Ensures that the input value is always returned as an array. * * If the input is already an array, it is returned unchanged. * If the input is a single value, it is wrapped in an array. * * @template T The type of the value or array elements. * @param maybeArray - A single item or an array of items. * @returns An array containing the input value(s). * * @example * ```ts * ensureArray(5); // [5] * ensureArray([1, 2, 3]); // [1, 2, 3] * ``` */ export declare function ensureArray(maybeArray: T | T[]): T[]; //# sourceMappingURL=ensure-array.d.ts.map