/**
 * Create state allows a class or function component to create state from the
 * render function. Any other attempt to use this will fail. All createState
 * invocations must be in the exact same order, every render.
 *
 * Borrowed from the concept introduced by React, useState. This will be used by
 * the React Compatibility later renamed as `useState`. The reason this is named
 * `createState` is due to no guarentees of parity with React hooks.
 *
 * @param {any} defaultValue
 *
 * @returns {any[]}
 */
export function createState(defaultValue?: any): any[];
