import { PostMessage } from '@picsart/miniapp-sdk-types'; import { SendMessages } from './types'; declare const addListener: (handler: (ev: MessageEvent) => void) => () => void; declare const isAndroid: () => boolean; declare const isWindows: () => boolean; declare const isIOS: () => boolean; declare const isEmbeddedWebProtocol: () => boolean; declare const isAndroidProtocol: () => boolean; declare const isWindowsProtocol: () => boolean; declare const isIOSProtocol: () => boolean; declare const isWebProtocol: () => boolean; declare const sendToWeb: (data: string) => void; declare const sendToAndroid: (data: string) => Promise; declare const sendToWindows: (data: string) => void; declare const sendToIos: (data: string) => void; declare const sendToEmbeddedWeb: (data: PostMessage) => void | Promise | undefined; export { isIOS, isAndroid, isWindows, sendToIos, addListener, sendToWeb, isIOSProtocol, isWebProtocol, sendToAndroid, sendToWindows, isAndroidProtocol, isWindowsProtocol, sendToEmbeddedWeb, isEmbeddedWebProtocol, };