import { AuthUser } from '../../../hooks/auth/types'; /** * Fetches the current user's information. * * @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(baseUrl: string, signal?: AbortSignal): Promise; /** * Updates the current user's information. * * @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(baseUrl: string, userData: Partial): Promise;