import { IonicNativePlugin } from '@ionic-native/core'; export declare class KakaoCordovaSDK extends IonicNativePlugin { login(loginOptions: any): Promise; logout(): Promise; unlinkApp(): Promise; getAccessToken(): Promise; requestMe(): Promise; updateScopes(targetScopes: any): Promise; checkScopeStatus(targetScopes: any): Promise; requestSendMemo(builder: any): Promise; addPlusFriend(params: any): Promise; chatPlusFriend(params: any): Promise; chatPlusFriendUrl(params: any): Promise; sendLinkFeed(feedTemplate: KLFeedTemplate): Promise; sendLinkList(listTemplate: KLListTemplate): Promise; sendLinkLocation(locationTemplate: KLLocationTemplate): Promise; sendLinkCommerce(listTemplate: KLCommerceTemplate): Promise; sendLinkText(textTemplate: KLTextTemplate): Promise; sendLinkScrap(scrapTemplate: KLScrapTemplate): Promise; sendLinkCustom(customTemplate: KLCustomTemplate): Promise; uploadImage(uploadImageConfig: KLUploadImageConfig): Promise; deleteUploadedImage(deleteImageConfig: KLDeleteImageConfig): Promise; postStory(postStoryConfig: KLPostStoryConfig): Promise; } export declare enum ScrapType { ScrapTypeNone = 0, ScrapTypeWebsite, ScrapTypeVideo, ScrapTypeMusic, ScrapTypeBook, ScrapTypeArticle, ScrapTypeProfile, } export interface KLPostStoryUrlInfo { title: string; desc?: string; imageURLs?: string[]; type?: ScrapType; } export interface KLPostStoryConfig { post: string; appid?: string; appver: string; appname?: string; urlinfo?: KLPostStoryUrlInfo; } export interface KLDeleteImageConfig { url: string; } export interface KLUploadImageConfig { fileOrUrl: 'file' | 'url'; url?: string; } export interface KLCustomTemplate { templateId: string; arguments?: any; } export interface KLScrapTemplate { url: string; } export interface KLTextTemplate { text: string; link: KLLinkObject; buttonTitle?: string; buttons?: KLButtonObject[]; } export interface KLCommerceTemplate { content: KLContentObject; commerce: KLCommerceObject; buttonTitle?: string; buttons?: KLButtonObject[]; } export interface KLLocationTemplate { address: string; content: KLContentObject; addressTitle?: string; social?: KLSocialObject; buttonTitle?: string; buttons?: KLButtonObject[]; } export interface KLListTemplate { headerTitle: string; headerLink: KLLinkObject; contents: KLContentObject[]; buttonTitle?: string; buttons?: KLButtonObject[]; } export interface KLFeedTemplate { content: KLContentObject; social?: KLSocialObject; buttonTitle?: string; buttons?: KLButtonObject[]; } export interface KLContentObject { title: string; link: KLLinkObject; imageURL: string; desc?: string; imageWidth?: string; imageHeight?: string; } export interface KLLinkObject { webURL?: string; mobileWebURL?: string; androidExecutionParams?: string; iosExecutionParams?: string; } export interface KLSocialObject { likeCount?: number; commentCount?: number; sharedCount?: number; viewCount?: number; subscriberCount?: number; } export interface KLButtonObject { title: string; link: KLLinkObject; } export interface KLCommerceObject { regularPrice: number; discountPrice?: number; discountRate?: number; fixedDiscountPrice?: number; } export declare enum AuthTypes { AuthTypeTalk = 1, AuthTypeStory, AuthTypeAccount, }