import React from "react";
import { ISearchResults } from "matrix-js-sdk/src/matrix";
import ScrollPanel from "./ScrollPanel";
import { SearchScope } from "../../Searching";
import ResizeNotifier from "../../utils/ResizeNotifier";
interface Props {
    term: string;
    scope: SearchScope;
    inProgress: boolean;
    promise: Promise<ISearchResults>;
    abortController?: AbortController;
    resizeNotifier: ResizeNotifier;
    className: string;
    onUpdate(inProgress: boolean, results: ISearchResults | null): void;
}
export declare const RoomSearchView: (props: Props & React.RefAttributes<ScrollPanel>) => React.ReactElement | null;
export {};
