import type Redis from "ioredis";
import * as messaging from "@slackwsh/messaging";
import type { RequestUser } from "../auth/auth.guard";
export declare class SearchController {
    private readonly redis;
    constructor(redis: Redis);
    mentions(user: RequestUser, workspaceId: string): Promise<{
        results: messaging.MentionActivityResult[];
    }>;
    updateActivityRead(user: RequestUser, workspaceId: string, body: unknown): Promise<{
        messageIds: number[];
        read: boolean;
    }>;
    unreads(user: RequestUser, workspaceId: string): Promise<{
        results: messaging.UnreadMessageResult[];
    }>;
    search(user: RequestUser, workspaceId: string, q: string | undefined): Promise<{
        results: messaging.SearchResult[];
    }>;
}
//# sourceMappingURL=search.controller.d.ts.map