import { Api } from './api'; /** * Superuser helpers */ export declare class Superuser { private readonly api; constructor(api: Api); /** * Switch to another user by ID * * @param {number} userId User ID * @return {Promise} New session */ assume(userId: number): Promise; /** * Enable the superuser flag, required to make any of the requests in this helper * * @param {string} username Superuser account * @param {string} password Superuser password * @return {Promise} Unknown */ enable(username: string, password: string): Promise; } //# sourceMappingURL=superuser.d.ts.map