import '../../assert/js/assert.js';
import '../../tandem/js/PhetioIDUtils.js';
import '../../globals.js';
/**
 * Throws an assertion error if assertions are enabled and the value is invalid, otherwise returns the value.
 *
 * @author Sam Reid (PhET Interactive Simulations)
 * @author Michael Kauzmann (PhET Interactive Simulations)
 */
import IntentionalAny from '../../phet-core/js/types/IntentionalAny.js';
import { IsValidValueOptions, Validator } from './Validation.js';
/**
 * If assertions are enabled, assert out if the value does not adhere to the validator. No-op without assertions.
 * @deprecated - this solution is worse than a direct assertion (or otherwise call Validation.getValidationError directly)
 */
declare const validate: <T>(value: IntentionalAny, validator: Validator<T>, providedOptions?: IsValidValueOptions) => void;
export default validate;
//# sourceMappingURL=validate.d.ts.map