import { AttributeEditor } from './AttributeEditor'; import { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor'; import { TagGroupEditor } from './TagGroupEditor'; import type { AirshipPluginWrapper } from './AirshipPlugin'; import type { SubscriptionScope } from './types'; /** * Airship contact. */ export declare class AirshipContact { private readonly plugin; constructor(plugin: AirshipPluginWrapper); /** * Identifies the contact with a named user Id. * @param namedUser The named user Id. * @returns A promise. */ identify(namedUser: string): Promise; /** * Resets the contact. * @returns A promise. */ reset(): Promise; /** * Gets the named user Id. * @returns A promise with the result. */ getNamedUserId(): Promise; /** * Gets the contacts subscription lists. * @returns A promise with the result. */ getSubscriptionLists(): Promise>; /** * Edits tag groups. * @returns A tag group editor. */ editTagGroups(): TagGroupEditor; /** * Edits attributes. * @returns An attribute editor. */ editAttributes(): AttributeEditor; /** * Edits subscription lists. * @returns A subscription list editor. */ editSubscriptionLists(): ScopedSubscriptionListEditor; }