/** * Turn an MXC URL into an HTTP one. This method is experimental and * may change. * @param mxcUrl - The MXC URL * @param width - The desired width of the thumbnail. * @param height - The desired height of the thumbnail. * @param resizeMethod - The thumbnail resize method to use, either * "crop" or "scale". * @param allowDirectLinks - If true, return any non-mxc URLs * directly. Fetching such URLs will leak information about the user to * anyone they share a room with. If false, will return null for such URLs. * @returns the avatar URL or null. */ export declare function mxcUrlToHttp(baseUrl: string, mxcUrl: string, width?: number, height?: number, resizeMethod?: string, allowDirectLinks?: boolean): string | null;