import { GridSortDirection } from "@mui/x-data-grid"; import { AxiosRequestConfig, AxiosResponse } from "axios"; import { AccountExtended, AccountWithAuthz } from "../types/account"; import { SecLevelEndpoint, Webmap as IWebMap } from "./portal"; /** * Get own project specific account info. We assume that the user has previously logged in via the portal * and thus the jwt gets sent with the request as a cookie. * * @returns Promise */ export declare const getAdditionalAccountInfo: () => Promise; /** * Endpoint for accessing the Accounts view in a Webmap Schema. * Holds all account information plus role and seclevel for a given webmap. */ declare class AccountsExtendedEndpoint { protected endpointPath: string; constructor(endpointPath: string); getAll(orderBy?: string, orderType?: GridSortDirection, limit?: number, offset?: number, config?: AxiosRequestConfig): Promise>; update(id: number, changes: Partial, config?: AxiosRequestConfig): Promise; } /** * Endpoint for accessing the webmap view in a WebMap schema. Only consists of * one entry (which refers to the webmap in use). */ declare class WebMapEndpoint { protected endpointPath: string; constructor(endpointPath: string); get(config?: AxiosRequestConfig): Promise>; update(changes: Partial, config?: AxiosRequestConfig): Promise; } export declare const AccountsExtended: AccountsExtendedEndpoint; export declare const WebmapEndpoint: WebMapEndpoint; export declare const SecLevelsWebMap: SecLevelEndpoint; export {};