import { L as LemonsqueezyDataType, S as SharedLemonsqueezyOptions, B as BaseLemonsqueezyResponse, a as SharedModuleOptions } from './shared.types-BRn0LClq.js'; /** * @docs https://docs.lemonsqueezy.com/api/users#the-user-object */ interface LemonsqueezyUser { attributes: { /** * A URL to the avatar image for this user. If the user has not uploaded a custom avatar, this will point to their Gravatar URL. */ avatar_url: string; /** * A randomly generated hex color code for the user. We use this internally as the background color of an avatar if the user has not uploaded a custom avatar. */ color: string; /** * An ISO-8601 formatted date-time string indicating when the object was created. * * @see https://en.wikipedia.org/wiki/ISO_8601 */ createdAt: Date; /** * The email address of the user. */ email: string; /** * Has the value `true` if the user has uploaded a custom avatar image. */ has_custom_avatar: boolean; /** * The name of the user. */ name: string; /** * An ISO-8601 formatted date-time string indicating when the object was last updated. * * @see https://en.wikipedia.org/wiki/ISO_8601 */ updatedAt: Date; }; id: string; links: { self: string; }; type: LemonsqueezyDataType.users; } interface GetUserOptions extends SharedLemonsqueezyOptions { } type GetUserResult = BaseLemonsqueezyResponse; /** * Get User * * @description Retrieves the currently authenticated user * * @docs https://docs.lemonsqueezy.com/api/users#retrieve-the-authenticated-user * * @param {Object} [options] * * @returns A user object */ declare function getUser(options: GetUserOptions & SharedModuleOptions): Promise; export { type GetUserOptions as G, type LemonsqueezyUser as L, type GetUserResult as a, getUser as g };