Version: 1.0.0-rc.01.0.0-rc.11.0.01.1.01.2.01.2.11.2.21.2.31.3.01.3.11.4.01.4.11.4.21.4.31.5.01.5.13.0.03.0.13.0.23.0.33.1.03.1.13.1.23.2.03.2.13.2.23.3.03.3.13.3.23.4.03.5.03.5.13.6.03.6.13.6.23.7.03.7.13.8.03.8.13.8.23.8.33.9.03.9.13.9.23.9.33.9.44.0.0-alpha.04.0.0-alpha.14.0.0-alpha.24.0.0-alpha.34.0.0-alpha.44.0.0-alpha.54.0.0-alpha.64.0.0-alpha.74.0.0-alpha.84.0.0-beta.04.0.0-beta.14.0.0-beta.24.0.0-rc.04.0.04.0.14.0.24.1.04.1.14.1.24.1.34.2.04.2.14.3.04.3.14.3.24.3.34.4.04.4.14.4.24.4.34.5.04.5.14.5.24.6.04.6.14.7.04.7.14.7.24.8.04.8.14.8.24.8.34.9.04.9.14.9.24.9.34.9.44.9.54.9.64.9.74.9.84.9.94.9.104.9.114.9.124.9.134.9.144.10.04.10.14.10.24.11.04.11.14.11.24.11.3-deprecations.04.11.3-deprecations.14.11.34.11.44.12.04.12.14.12.24.12.34.12.45.0.0-alpha.15.0.0-alpha.25.0.0-alpha.35.0.0-alpha.45.0.0-alpha.55.0.0-alpha.65.0.0-alpha.75.0.0-alpha.85.0.0-alpha.95.0.0-alpha.105.0.0-alpha.115.0.0-alpha.125.0.0-alpha.135.0.0-alpha.145.0.0-alpha.155.0.0-alpha.165.0.0-alpha.175.0.0-alpha.185.0.0-alpha.195.0.0-alpha.205.0.0-alpha.215.0.0-alpha.225.0.0-alpha.235.0.0-alpha.245.0.0-alpha.255.0.0-alpha.265.0.0-alpha.275.0.0-alpha.285.0.0-alpha.295.0.0-alpha.305.0.0-alpha.315.0.0-alpha.325.0.0-alpha.335.0.0-alpha.345.0.0-alpha.355.0.0-alpha.365.0.0-alpha.375.0.0-alpha.385.0.0-beta.05.0.0-beta.15.0.0-beta.25.0.0-beta.35.0.0-beta.45.0.0-beta.5
/**
* passes {value} to {ref}
*
* WARNING: Be sure to only call this inside a callback that is passed as a ref.
* Otherwise make sure to cleanup previous {ref} if it changes. See
* https://github.com/mui-org/material-ui/issues/13539
* useful if you want to expose the ref of an inner component to the public api
* while still using it inside the component
* @param ref a ref callback or ref object if anything falsy this is a no-op
*/
export default function setRef<T>(
ref: React.RefObject<T> | ((instance: T | null) => void) | null | undefined,
value: T | null
): void;