import React from 'react'; declare type State = Array> | undefined; declare type SideEffectProps = { reduceComponentsToState: (components: Array>, props: T) => State; handleStateChange?: (state: State) => void; inAmpMode?: boolean; }; declare const _default: () => { new (props: any): { componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; render(): null; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; }; rewind(): State; contextType?: React.Context | undefined; }; export default _default;