import React, { ComponentClass } from "react";
import { MatrixClient } from "matrix-js-sdk/src/matrix";
declare const MatrixClientContext: React.Context<MatrixClient>;
export default MatrixClientContext;
export interface MatrixClientProps {
    mxClient: MatrixClient;
}
export declare function useMatrixClientContext(): MatrixClient;
export declare const withMatrixClientHOC: <ComposedComponentProps extends {}>(ComposedComponent: ComponentClass<ComposedComponentProps>) => ((props: Omit<ComposedComponentProps, "mxClient"> & React.RefAttributes<InstanceType<typeof ComposedComponent>>) => React.ReactElement | null);
