import { IdMap, IdMapperClient } from '../base'; import { MigrationClient } from '../../migration-client'; import { LoggerService } from '../../logger'; export declare class RolesIdMapperClient extends IdMapperClient { /** * This placeholder is used to represent the admin role in the id map. */ protected readonly adminRolePlaceholder = "_sync_default_admin_role"; protected adminRoleId: string | undefined; constructor(migrationClient: MigrationClient, loggerService: LoggerService); /** * This method return the role of the current user as the Admin role */ getAdminRoleId(): Promise; /** * Force admin role placeholder for the admin role. */ create(localId: string | number, syncId?: string): Promise; /** * Create the sync id of the admin role on the fly, as it already has been synced. */ getBySyncId(syncId: string): Promise; }