import { Room, MatrixClient } from "matrix-js-sdk/src/matrix";
export declare function leaveRoomBehaviour(matrixClient: MatrixClient, roomId: string, retry?: boolean, spinner?: boolean): Promise<void>;
export declare const leaveSpace: (space: Room) => void;
