import { ISpaceRef } from './interfaces'; /** Persists the user's current space so it can be restored after login. */ export declare function writeCurrentSpace(space: ISpaceRef): void; /** Clears the persisted current space (e.g. when the user leaves all spaces). */ export declare function clearCurrentSpace(): void; /** Reads the persisted current space, or undefined when none/invalid. */ export declare function readCurrentSpace(): ISpaceRef | undefined; /** Router path for the persisted current space, or undefined when none. */ export declare function currentSpacePath(): string | undefined;