declare const useLegacyComponentWarning: (msg?: string) => void; export default useLegacyComponentWarning;