/** * Generates a prop validator that tests against a list of expected values * * @param expectedValues - array of expected, valid values * @returns a function that checks if its parameter is in the provided list */ export declare function expectedValues(...expectedValues: any[]): (value: any) => boolean; /** * Generates a prop validator that tests a string or an array of strings * to make sure all values start with the provided prefix. * * @param prefix * @returns {(function(*): (*|boolean))|*} */ export declare function prefixValidator(prefix: any): (value: any) => any;