import { UserService } from './user.service';
import { UpdateUserDto } from './dto/update-user.dto';
import { User, Workspace } from "../../database/types/entity.types";
import { WorkspaceRepo } from "../../database/repos/workspace/workspace.repo";
import { PaginationOptions } from "../../database/pagination/pagination-options";
import WorkspaceAbilityFactory from '../casl/abilities/workspace-ability.factory';
import { UserProfileService } from './user-profile.service';
import { UserIdDto } from './dto/user-id.dto';
export declare class UserController {
    private readonly userService;
    private readonly workspaceRepo;
    private readonly userProfileService;
    private readonly workspaceAbility;
    constructor(userService: UserService, workspaceRepo: WorkspaceRepo, userProfileService: UserProfileService, workspaceAbility: WorkspaceAbilityFactory);
    getUserInfo(authUser: User, workspace: Workspace): Promise<{
        user: {
            password: string;
            id: string;
            workspaceId: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date;
            role: string;
            name: string;
            settings: import("../../database/types/db").JsonValue;
            email: string;
            invitedById: string;
            avatarUrl: string;
            deactivatedAt: Date;
            emailVerifiedAt: Date;
            lastActiveAt: Date;
            lastLoginAt: Date;
            locale: string;
            hasGeneratedPassword: boolean;
            scimExternalId: string;
            timezone: string;
        };
        workspace: {
            memberCount: number;
            hostname: string;
            description: string;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            deletedAt: Date;
            auditRetentionDays: number;
            trashRetentionDays: number;
            billingEmail: string;
            customDomain: string;
            defaultRole: string;
            defaultSpaceId: string;
            emailDomains: string[];
            enforceMfa: boolean;
            enforceSso: boolean;
            isScimEnabled: boolean;
            logo: string;
            name: string;
            plan: string;
            settings: import("../../database/types/db").JsonValue;
            status: string;
            stripeCustomerId: string;
            trialEndAt: Date;
        };
    }>;
    updateUser(updateUserDto: UpdateUserDto, user: User, workspace: Workspace): Promise<{
        password: string;
        id: string;
        workspaceId: string;
        createdAt: Date;
        updatedAt: Date;
        deletedAt: Date;
        role: string;
        name: string;
        settings: import("../../database/types/db").JsonValue;
        email: string;
        invitedById: string;
        avatarUrl: string;
        deactivatedAt: Date;
        emailVerifiedAt: Date;
        lastActiveAt: Date;
        lastLoginAt: Date;
        locale: string;
        hasGeneratedPassword: boolean;
        scimExternalId: string;
        timezone: string;
    }>;
    getUserProfile(dto: UserIdDto, user: User, workspace: Workspace): Promise<import("./user.types").UserProfile>;
    getUserSpaces(dto: UserIdDto, pagination: PaginationOptions, user: User, workspace: Workspace): Promise<import("../../database/pagination/cursor-pagination").CursorPaginationResult<import("./user.types").UserProfileSpace>>;
    getUserRecentPages(dto: UserIdDto, pagination: PaginationOptions, user: User, workspace: Workspace): Promise<import("../../database/pagination/cursor-pagination").CursorPaginationResult<import("./user.types").UserRecentPage>>;
    private resolveProfileViewer;
}
