import { DirectoryMember } from "../utils/direct-messages";
export interface IUserDirectoryOpts {
    limit: number;
    query: string;
}
export declare const useUserDirectory: () => {
    ready: boolean;
    loading: boolean;
    users: DirectoryMember[];
    search(opts: IUserDirectoryOpts): Promise<boolean>;
};
