import { Adapters, AuthUser } from 'fastapi-rtk/api'; /** * Fetches the current user's information. * * @param adapters - Platform adapters; the active auth transport decorates the request (cookie sets credentials:'include'). * @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} Throws an error if fetching the user information fails. */ export declare function getUser(adapters: Adapters, baseUrl: string, signal?: AbortSignal): Promise; /** * Updates the current user's information. * * @param adapters - Platform adapters; the active auth transport decorates the request (cookie sets credentials:'include'). * @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} Throws an error if updating the user information fails. */ export declare function updateUser(adapters: Adapters, baseUrl: string, userData: Partial): Promise;