import IGirafeContext from '../../context/icontext.js';
import { IBrainSerializer } from '../../state/brain/serialize.js';
import StreetViewState from '../../state/streetview.js';
/**
 * Shares the footage displayed by each StreetView Component,
 * so that the Components display it again when the shared state is restored.
 */
export default class StreetViewSerializer implements IBrainSerializer<StreetViewState> {
    private readonly context;
    constructor(context: IGirafeContext);
    private get streetview();
    brainSerialize(streetview: StreetViewState): string;
    /**
     * Applies the shared views, ignoring the providers and the views that are not valid:
     * a shared state can have been created by another version of the application.
     */
    brainDeserialize(str: string): void;
}
