import { UserRepo } from "../../database/repos/user/user.repo";
import { SpaceMemberRepo } from "../../database/repos/space/space-member.repo";
import { PageRepo } from "../../database/repos/page/page.repo";
import { PaginationOptions } from "../../database/pagination/pagination-options";
import { CursorPaginationResult } from "../../database/pagination/cursor-pagination";
import { ProfileViewer, UserProfile, UserProfileSpace, UserRecentPage } from './user.types';
export declare class UserProfileService {
    private readonly userRepo;
    private readonly spaceMemberRepo;
    private readonly pageRepo;
    constructor(userRepo: UserRepo, spaceMemberRepo: SpaceMemberRepo, pageRepo: PageRepo);
    getProfile(targetUserId: string, viewer: ProfileViewer): Promise<UserProfile>;
    getSpaces(targetUserId: string, viewer: ProfileViewer, pagination: PaginationOptions): Promise<CursorPaginationResult<UserProfileSpace>>;
    getRecentPages(targetUserId: string, viewer: ProfileViewer, pagination: PaginationOptions): Promise<CursorPaginationResult<UserRecentPage>>;
    private findVisibleUser;
}
