import { N as NativeCommandResult, B as BdkNativeEvents, a as BdkNamedEvents, b as BdkEventPayload, c as BdkPushClickEvent } from '../iap-types-nez7V--N.cjs'; type BubbleActionProperties = Record; interface BubbleActionRuntime { bdkRelease?: string | number | null | undefined; } interface BubbleNativeCommand { command: string; options: Record; } interface BubbleActionRunner { } declare const bubbleActionAliases: Record; declare function buildBubbleActionCommands(actionIdOrDisplay: string, properties?: BubbleActionProperties, runtime?: BubbleActionRuntime): BubbleNativeCommand[]; declare function runBubbleAction(runner: BubbleActionRunner, actionIdOrDisplay: string, properties?: BubbleActionProperties, runtime?: BubbleActionRuntime): Promise; declare function buildBubbleNavigatePayload(properties: BubbleActionProperties): Record; declare function buildBubbleLoadingPayload(properties: BubbleActionProperties): Record; declare function buildBubbleStatusBarPayload(properties: BubbleActionProperties): Record; declare function buildBubbleBackgroundLocationPayload(properties: BubbleActionProperties): Record; declare function buildBubbleInstagramStoryPayload(properties: BubbleActionProperties): Record; interface BubbleElementInstance { data: Record; publishState(name: string, value: unknown): void; triggerEvent(name: string, callback?: () => void): void; } interface BubbleElementSdk { on(event: K, listener: (payload: BdkNativeEvents[K]) => void): () => void; on(event: K, listener: (payload: BdkNamedEvents[K]) => void): () => void; on(event: string, listener: (payload: BdkEventPayload) => void): () => void; readonly push: { onClick(listener: (click: BdkPushClickEvent) => void): () => void; }; } interface BubbleElementCommandRunner { } interface BubbleOfflineMonitor { on(event: "up" | "down", listener: () => void): void; off?(event: "up" | "down", listener: () => void): void; } interface BubbleElementBindOptions { uploadContent?: (filename: string, data: string, callback: (error: unknown, urlKey?: string | null) => void) => void; window?: Pick; offline?: BubbleOfflineMonitor; } type BubbleElementActionProperties = Record; interface BubbleElementActionRuntime { platform?: string | null | undefined; bdkNativeInfo?: Partial | null | undefined; } interface BubbleElementNativeCommand { command: string; options: Record; } declare const bubbleElementAliases: Record; declare const bubbleElementActionAliases: Record; declare function buildBubbleElementActionCommands(elementIdOrDisplay: string, actionIdOrCaption: string, properties?: BubbleElementActionProperties, elementData?: Record, runtime?: BubbleElementActionRuntime): BubbleElementNativeCommand[]; declare function runBubbleElementAction(runner: BubbleElementCommandRunner, elementIdOrDisplay: string, actionIdOrCaption: string, properties?: BubbleElementActionProperties, elementData?: Record, runtime?: BubbleElementActionRuntime): Promise; declare function bindBubbleElement(elementIdOrDisplay: string, instance: BubbleElementInstance, sdk: BubbleElementSdk, options?: BubbleElementBindOptions): () => void; declare function buildNativeHeaderPayload(properties: BubbleElementActionProperties, elementData?: Record): Record; declare function updateBubbleContactElement(instance: BubbleElementInstance, sourceData: string | Record): void; declare function clearBubbleElementStates(elementIdOrDisplay: string, instance: BubbleElementInstance): void; export { type BubbleActionProperties, type BubbleActionRunner, type BubbleActionRuntime, type BubbleElementActionProperties, type BubbleElementActionRuntime, type BubbleElementBindOptions, type BubbleElementCommandRunner, type BubbleElementInstance, type BubbleElementNativeCommand, type BubbleElementSdk, type BubbleNativeCommand, bindBubbleElement, bubbleActionAliases, bubbleElementActionAliases, bubbleElementAliases, buildBubbleActionCommands, buildBubbleBackgroundLocationPayload, buildBubbleElementActionCommands, buildBubbleInstagramStoryPayload, buildBubbleLoadingPayload, buildBubbleNavigatePayload, buildBubbleStatusBarPayload, buildNativeHeaderPayload, clearBubbleElementStates, runBubbleAction, runBubbleElementAction, updateBubbleContactElement };