import { ConnectionBase } from "./connection.base";
import { RequestConfig, User } from "../../types/types";
export declare class UserExtra extends ConnectionBase {
    /**
     * Retrieves all database users from the instance.
     */
    showUser(config?: RequestConfig): Promise<User[]>;
    /**
     * Retrieves a database user from the instance by its username.
     */
    getUser(username: string, config?: RequestConfig): Promise<User>;
    /**
     * Gets the current user's information.
     */
    getSelfInfo(config?: RequestConfig): Promise<User[]>;
    /**
     * Creates a database user in the instance.
     */
    createUser(user: User, config?: RequestConfig): Promise<import("../../types/types").Response>;
    /**
     * Drops one database user from the instance by its username.
     */
    dropUser(username: string, config?: RequestConfig): Promise<import("../../types/types").Response>;
    /**
     * Alters the password, system privileges, graph privileges, property privileges and policies of one existing database user in the instance by its username.
     */
    alterUser(user: User, config?: RequestConfig): Promise<import("../../types/types").Response>;
}
