import type { PictFactorsType } from './types';
/**
 * Convert value-keyed weights to index-keyed weights for use with `OptionsType.weights`.
 * Useful when you want to specify weights by value rather than by index position.
 *
 * @example
 *   weightsByValue(
 *     { Browser: ["Chrome", "Firefox", "Safari"] },
 *     { Browser: { Chrome: 10, Safari: 5 } },
 *   )
 *   // → { Browser: { 0: 10, 2: 5 } }
 */
export declare function weightsByValue<T extends PictFactorsType>(factors: T, valueWeights: {
    [factorKey: string]: {
        [value: string]: number;
    };
}): {
    [factorKey: string]: {
        [index: number]: number;
    };
};
