import { AmplifyContext } from '@aws-amplify/core'; import { FetchUserAttributesOutput } from '../types'; export declare function fetchUserAttributes(ctx: AmplifyContext): Promise; /** * Fetches the current user attributes while authenticated. * * @throws - {@link GetUserException} - Cognito service errors thrown when the service is not able to get the user. * @throws AuthTokenConfigException - Thrown when the token provider config is invalid. */ export declare function fetchUserAttributes(): Promise;