import { type Maybe } from '../value/maybe.type'; /** * Contains a reference to a filter object. */ export interface Filter { filter?: F; } /** * A filter reference where the filter is optional. */ export type OptionalFilter = Partial>; /** * Function used for filtering items that takes in a value and index. */ export type FilterFunction = (value: T, index: number) => boolean; /** * Merges multiple FilterFunction values into a single FilterFunction. * The merged function returns true only if all individual filters pass (AND logic). * Null/undefined filters are ignored. * * @param inputFilters - The filter functions to merge * @returns A single FilterFunction that applies all filters */ export declare function mergeFilterFunctions(...inputFilters: Maybe>[]): FilterFunction; /** * Inverts a filter function so it returns the opposite boolean value. * * @param filterFn - The filter function to invert * @param invert - Whether to apply the inversion (defaults to true) * @returns The inverted filter function, or the original if invert is false */ export declare const invertFilter: = FilterFunction>(filterFn: F, invert?: boolean) => F;