Version: 0.0.10.0.20.0.30.0.40.0.5-00.0.5-10.0.5-20.0.50.0.60.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.70.1.80.1.90.2.00.2.10.2.20.2.30.2.40.2.50.3.00.3.10.3.20.3.30.3.40.4.00.4.10.4.21.0.01.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.101.0.111.0.12-01.1.01.1.11.1.2-01.1.21.1.31.2.01.2.11.3.01.3.11.4.01.4.11.4.21.4.31.4.41.4.51.4.62.0.0-02.0.0-12.0.0-22.0.0-32.0.0-42.0.0-52.0.0-62.0.0-72.0.0-82.0.0-92.0.0-102.0.0-112.0.0-122.0.0-132.0.0-142.0.0-152.0.0-162.0.0-172.0.0-182.0.0-192.0.02.0.12.1.02.1.1-02.1.1-12.1.12.1.22.1.3-02.2.02.2.12.2.22.2.32.2.42.3.02.3.12.3.22.3.3-02.3.32.4.0-02.4.02.4.12.5.0-13.0.13.0.23.1.0-03.1.0-13.1.0-33.1.0-speedy3.1.0-speedy23.1.0-speedy33.1.0-speedy43.1.0-speedy53.1.0-speedy63.1.03.1.13.1.23.1.33.1.43.1.53.1.6-03.1.6-13.1.6-23.1.63.2.0-03.2.0-13.2.0-stylerefactor13.2.0-stylerefactor23.2.03.2.1-03.2.1-13.2.1-23.2.13.2.2-03.2.2-13.2.23.2.3-ssrmem13.2.33.2.43.2.53.2.63.3.03.3.1-beta.03.3.13.3.23.3.3-13.3.3-23.3.3-33.3.33.4.0-03.4.0-43.4.03.4.13.4.23.4.33.4.43.4.53.4.63.4.73.4.83.4.93.4.103.5.0-04.0.0-beta.04.0.0-beta.14.0.0-beta.24.0.0-beta.34.0.0-beta.44.0.0-beta.54.0.0-beta.64.0.0-beta.74.0.0-beta.84.0.0-beta.94.0.0-beta.104.0.0-beta.114.0.0-beta.11.14.0.0-beta.11.24.0.0-beta.11.34.0.0-beta.11.1-hmr4.0.0-beta.11.1-hmr24.0.0-beta.0-14.0.0-beta.0-24.0.0-beta.1-14.0.0-beta.1-24.0.0-beta.10-14.0.0-beta.10-24.0.0-beta.10-34.0.0-beta.10-44.0.0-beta.10-54.0.0-beta.2-04.0.0-beta.3-purecomponent4.0.0-beta.3-side-effect-test4.0.0-beta.4-hmr4.0.0-beta.7-hoist4.0.0-beta.8-unpure4.0.0-beta.9-macro4.0.0-beta.9-macro24.0.04.0.1-04.0.14.0.24.0.3-04.0.34.1.0-rehydrate4.1.04.1.14.1.24.1.34.1.4-alpha.24.1.4-alpha.34.1.4-alpha.44.1.4-alpha.54.1.4-alpha.64.2.04.2.14.3.04.3.1-04.3.14.3.24.4.0-reactnativewebfix4.4.04.4.15.0.0-0.canary-sheet5.0.0-1.canary-sheet5.0.0-3.canary-sheet5.0.0-4.canary-sheet5.0.0-5.canary-sheet5.0.0-alpha.05.0.0-alpha.15.0.0-alpha.25.0.0-beta.05.0.0-beta.15.0.0-beta.25.0.0-beta.35.0.0-beta.45.0.0-beta.55.0.0-beta.65.0.0-beta.85.0.0-beta.95.0.0-beta.105.0.0-beta.115.0.0-beta.10-rulefix5.0.0-beta.11-cgsmulti5.0.0-beta.5-ej25.0.0-beta.5-removefoldedcomponentids5.0.0-beta.6-ej5.0.0-beta.6-ej15.0.0-beta.6-ej25.0.0-beta.6-ej35.0.0-beta.6-ej45.0.0-beta.8-groupsizefix5.0.0-cgsmem5.0.0-fixhoist5.0.0-rc.05.0.0-rc.15.0.0-rc.25.0.0-rc.35.0.0-regexrehydrate5.0.0-testdeopt5.0.0-testdeopt25.0.0-testgrouplimit.05.0.05.0.1-revisedssr5.0.15.1.05.1.15.2.0-test.05.2.0-test.15.2.0-test.25.2.0-test.35.2.0-test.45.2.0-test.55.2.0-test.65.2.0-test.75.2.0-test.85.2.0-test.95.2.0-test.105.2.0-test.115.2.0-test.125.2.05.2.15.2.25.2.35.3.05.3.1-pr35635.3.1-pr35645.3.15.3.25.3.35.3.45.3.55.3.65.3.75.3.85.3.95.3.105.3.116.0.0-alpha.06.0.0-alpha.16.0.0-alpha.26.0.0-alpha.36.0.0-alpha.46.0.0-alpha.56.0.0-alpha.66.0.0-alpha.76.0.0-beta.06.0.0-beta.16.0.0-beta.26.0.0-beta.36.0.0-beta.46.0.0-beta.56.0.0-beta.66.0.0-beta.76.0.0-beta.86.0.0-beta.96.0.0-beta.106.0.0-beta.116.0.0-beta.126.0.0-beta.136.0.0-beta.146.0.0-beta.156.0.0-rc.06.0.0-rc.16.0.0-rc.26.0.0-rc.36.0.0-rc.46.0.0-rc.56.0.0-rc.66.0.0-rc.2-40076.0.06.0.16.0.26.0.36.0.46.0.56.0.6-test.06.0.66.0.76.0.86.0.96.1.06.1.16.1.26.1.36.1.46.1.5-rc.06.1.56.1.66.1.76.1.86.1.9-react-18-streaming-prototype6.1.96.1.10-test.06.1.10-test.16.1.106.1.116.1.126.1.13
import React from 'react';
import { AnyComponent, ExecutionProps } from '../types';
export default function withTheme<T extends AnyComponent>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<JSX.LibraryManagedAttributes<T, ExecutionProps>> & React.RefAttributes<T>> & { [key in Exclude<keyof T, T extends React.MemoExoticComponent<any> ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "type" | "compare" : T extends React.ForwardRefExoticComponent<any> ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "render" : "length" | "propTypes" | "contextType" | "contextTypes" | "childContextTypes" | "defaultProps" | "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromError" | "name" | "type" | "getDefaultProps" | "mixins" | "prototype" | "caller" | "callee" | "arguments" | "arity">]: T[key]; };