export type UseCountOptions = {
    /**
     * Count only values that strictly equal this value.
     * If omitted and no `match` is provided, any value that is not null or undefined will be counted.
     */
    equals?: unknown;
    /**
     * A custom matcher function. If provided, it overrides the `equals` option.
     */
    match?: (value: unknown) => boolean;
};
/**
 * Counts how many items in a list match a specific condition at a given path.
 * Supports exact value comparison or custom predicate logic.
 *
 * @param items - The list of objects to evaluate.
 * @param path - Dot-separated path to the target property.
 * @param options - Optional config with `equals` or a custom `match` function.
 * @returns Number of items that satisfy the condition.
 */
declare const useCount: (items: unknown[], path: string, options?: UseCountOptions) => number;
export default useCount;
