export declare class StateToPersist<T> {
    private readonly dataToPersist;
    private readonly actionsToRetry;
    constructor(dataToPersist: T, actionsToRetry: {
        [index: string]: string[];
    });
    extractToScriptString(withScriptTag?: boolean): string;
    renderToJSX(): import("react/jsx-runtime").JSX.Element | null;
    renderToDocument(doc: string): string;
    extractToJSONScriptString(): string;
    private serialize;
}
