import * as React from 'react'; export interface ComponentProps { restore?: (element: HTMLElement, store?: any) => Promise | any; store?: any; live: boolean | Promise; strict?: boolean; className?: string; style?: React.CSSProperties; } export interface ComponentState { live: boolean; state: any; } export interface WrapperProps { id: string; className?: string; style?: React.CSSProperties; live: boolean; strict: boolean; dehydrate: (element: HTMLElement) => void; } export declare class PrerenderedComponent extends React.Component { state: ComponentState; awaitingFor: any; static getDerivedStateFromProps(props: ComponentProps, state: ComponentState): { live: boolean; }; componentDidMount(): void; componentDidUpdate(): void; checkLive(): void; awaitForLive(live: Promise): void; dehydrate: (el: HTMLElement) => void; render(): JSX.Element; }