import type { ApplicationUserData } from '../models/ApplicationUserData';
export declare class UsersService {
    /**
     * Get current user information
     * View information about the current user
     * @returns ApplicationUserData Information about the current user
     * @throws ApiError
     */
    static usersGetCurrentUser(): Promise<ApplicationUserData>;
    /**
     * Create user
     * Create a new user.
     *
     * This operation can be called without authentication in any of this cases:
     * * There is not any administrator yet on the server,
     * * The subscriptions are not disabled in the server's policies.
     *
     * If the first administrator is created by this call, subscriptions are automatically disabled.
     * @returns ApplicationUserData Information about the new user
     * @throws ApiError
     */
    static postUsersService({ requestBody, }: {
        requestBody: {
            /**
             * The email of the new user
             */
            email?: string;
            /**
             * The password of the new user
             */
            password?: string;
            /**
             * Make this user administrator (only if you have the `unrestricted` permission of a server administrator)
             */
            isAdministrator?: boolean | null;
        };
    }): Promise<ApplicationUserData>;
}
