declare const _default: (func: any, event?: any) => any; /** * @param {Function} func - Callback function to be passed * @param event - Event to be passed. * @returns {(Function|undefined)} Function with event or undefined. * @description Set function and returning event based on passed parameters, set undefined if no function parameter passed. Use this method if you wanted to validate passed function to another function. */ export default _default;