export type UseAverageOptions = {
    /**
     * The locale used to parse localized number formats (e.g. "de-DE", "en-GB").
     * @default "en-GB".
     */
    locale?: string;
};
/**
 * Calculates the average of numeric values from a list of objects.
 * Values are extracted using a dot-separated path and parsed with locale awareness.
 *
 * @param items - The list of objects to aggregate.
 * @param path - Dot-separated path to the value in each object.
 * @param options - Optional configuration (e.g. locale for number parsing).
 * @returns The average of all valid values as a number. Returns 0 if no values are valid.
 */
declare const useAverage: (items: unknown[], path: string, options?: UseAverageOptions) => number;
export default useAverage;
