/**
 * Allow a function component to hook into lifecycle methods in a manner
 * consistent with class components.
 *
 * @param {Function} sideEffectFn - A function that is called whenever the
 * component is mounted or updated. To invoke cleanup pass a second function
 * which will run whenever the component is removed.
 *
 * @returns {void}
 */
export function createSideEffect(sideEffectFn: Function): void;
