import { Authentication, type IQrData } from "../encode/QrData"; export type QrDataConfig = TextConfig | UrlConfig | EmailConfig | GeoPosConfig | BookmarkConfig | WifiConfig | EnterpriseWifiConfig | PhoneConfig | SMSConfig | BizCardConfig | VCardConfig | MeCardConfig | YouTubeConfig | EventConfig | GooglePlayConfig; export declare function createQrDataFromConfig(config: QrDataConfig): IQrData; interface TextConfig { type: "Text"; data: { value: string; }; } interface UrlConfig { type: "Url"; data: { url: string; }; } interface EmailConfig { type: "Email"; data: { email: string; copyTo?: string; subject?: string; body?: string; }; } interface GeoPosConfig { type: "GeoPos"; data: { lat: number; lon: number; }; } interface BookmarkConfig { type: "Bookmark"; data: { url: string; title: string; }; } interface WifiConfig { type: "Wifi"; data: { authentication?: Authentication; ssid?: string; psk?: string; hidden?: boolean; }; } interface EnterpriseWifiConfig { type: "EnterpriseWifi"; data: { ssid?: string; psk?: string; hidden?: boolean; user?: string; eap?: string; phase?: string; }; } interface PhoneConfig { type: "Phone"; data: { phoneNumber: string; }; } interface SMSConfig { type: "SMS"; data: { phoneNumber: string; subject: string; isMMS: boolean; }; } interface BizCardConfig { type: "BizCard"; data: { firstName?: string; secondName?: string; job?: string; company?: string; address?: string; phone?: string; email?: string; }; } interface VCardConfig { type: "VCard"; data: { name?: string; company?: string; title?: string; phoneNumber?: string; email?: string; address?: string; website?: string; note?: string; }; } interface MeCardConfig { type: "MeCard"; data: { name?: string; address?: string; phoneNumber?: string; email?: string; }; } interface YouTubeConfig { type: "YouTube"; data: { videoId: string; }; } interface EventConfig { type: "Event"; data: { uid?: string; stamp?: string; organizer?: string; start?: string; end?: string; summary?: string; }; } interface GooglePlayConfig { type: "GooglePlay"; data: { appPackage: string; }; } export {};