import type { Me } from "../models/Me"; import type { TokenLoginRequest } from "../models/TokenLoginRequest"; import type { TokenLoginResponse } from "../models/TokenLoginResponse"; import type { CancelablePromise } from "../core/CancelablePromise"; export declare class AuthService { /** * Check authentication * Check the current public API authentication token and return the authenticated user. * @returns Me Success, including the authenticated user * @throws ApiError */ static getMe(): CancelablePromise; /** * Exchange login token * Exchange a standard Dart login token for the user's public API authentication token. * @param requestBody * @returns TokenLoginResponse Success, including the auth token * @throws ApiError */ static tokenLogin(requestBody: TokenLoginRequest): CancelablePromise; }