import { Adapters } from '../adapters/types'; import { AuthUser } from './types'; /** * Fetches the current user's information. * * @param adapters - Platform adapters used to dispatch the request. * @param baseUrl - The base URL of the user endpoint. * @param signal - The signal to use for the fetch request. * @returns The user's information as a JSON object. * @throws {Error} If the fetch fails. */ export declare function getUser(adapters: Adapters, baseUrl: string, signal?: AbortSignal): Promise; /** * Updates the current user's information. * * @param adapters - Platform adapters used to dispatch the request. * @param baseUrl - The base URL of the user endpoint. * @param userData - The new user data to update. * @returns The updated user's information as a JSON object. * @throws {Error} If the update fails. */ export declare function updateUser(adapters: Adapters, baseUrl: string, userData: Partial): Promise;