import { Options, Plugin } from '../utils/options.js'; export interface Address { streetAddress?: string; locality?: string; postalCode?: string; stateProvince?: string; region?: string; country?: string; } export declare enum AddressType { Home = "home", Work = "work" } export declare enum PhoneType { Home = "home", Work = "work", Cell = "cell", Pager = "pager" } export declare enum SocialType { Messenger = "messenger", Twitter = "twitter", Facebook = "facebook", LinkedIn = "linkedin", SinaWeibo = "weibo", Jabber = "jabber", QQ = "qq", GaduGadu = "gadu-gadu" } export interface VCardPluginOptions { fullName: string; name?: { first?: string; last?: string; middle?: string; prefix?: string; suffix?: string; nick?: string; }; title?: string; birthday?: Date | string; phone?: Array<{ type?: `${PhoneType}`; value: string; }>; email?: Array<{ type?: `${AddressType}`; value: string; }>; address?: { work?: Address; home?: Address; }; note?: string; company?: string; social?: Array<{ type: `${SocialType}`; value: string; }>; website?: { personal?: string; company?: string; }; } export default class VCardPlugin implements Plugin { private readonly pluginOptions; private readonly uuid?; constructor(pluginOptions: VCardPluginOptions, uuid?: string | undefined); configure(options: Options): Options | undefined | void; private generateVCard; }