import { Action, Jump, Navigate, Replace, Goback, EnterRoom, LiveDetect, Onelink, AgencyInvite, Recharge, Close, Config, Track, GrantBenefits, ActionType, ActionData, ActionCreator, } from '../core/index.js'; import { IActionAdapter, RNWebViewAdapter, MockAdapter, AdapterOptions, SendActionOption } from '../adapters/index.js'; export declare class ActionBridge { constructor(adapter: IActionAdapter, options?: AdapterOptions); readonly ActionCreator: typeof ActionCreator; readonly ActionType: typeof ActionType; readonly ActionData: typeof ActionData; sendAction(action: any, callback?: (result: any, error: any) => void, option?: SendActionOption): Promise; sendAction(action: any, option?: SendActionOption): Promise; sendActionNoReply(action: any): void; jump(path: string): Promise; buildJump(path: string): Jump; createJumpAction(path: string): Action; createJumpActionWithData(jump: Jump): Action; navigate(screen: string, params?: Record): Promise; buildNavigate(screen: string, params?: Record): Navigate; createNavigateAction(screen: string): Action; createNavigateActionWithParams(screen: string, params: Record): Action; createNavigateActionWithData(navigate: Navigate): Action; replace(screen: string, params?: Record): Promise; buildReplace(screen: string, params?: Record): Replace; createReplaceAction(screen: string): Action; createReplaceActionWithParams(screen: string, params: Record): Action; createReplaceActionWithData(replace: Replace): Action; goback(): Promise; buildGoback(): Goback; createGobackAction(): Action; createGobackActionWithData(goback: Goback): Action; enterRoom(id: number): Promise; buildEnterRoom(): EnterRoom; createEnterRoomAction(id: number): Action; createEnterRoomActionWithData(enterRoom: EnterRoom): Action; liveDetect(): Promise; buildLiveDetect(): LiveDetect; createLiveDetectAction(): Action; createLiveDetectActionWithData(liveDetect: LiveDetect): Action; onelink(url: string): Promise; buildOnelink(url: string): Onelink; createOnelinkAction(url: string): Action; createOnelinkActionWithData(onelink: Onelink): Action; agencyInvite(id: number, type: string): Promise; buildAgencyInvite(id: number, type: string): AgencyInvite; createAgencyInviteAction(id: number, type: string): Action; createAgencyInviteActionWithData(agencyInvite: AgencyInvite): Action; recharge(): Promise; buildRecharge(): Recharge; createRechargeAction(): Action; createRechargeActionWithData(recharge: Recharge): Action; close(): Promise; buildClose(): Close; createCloseAction(): Action; createCloseActionWithData(close: Close): Action; config(options?: { theme?: 'dark' | 'light'; brandColor?: string; tintColor?: string; title?: string }): Promise; buildConfig(): Config; createConfigAction(): Action; createConfigActionWithData(config: Config): Action; track(name: string, params?: Record, options?: Record): Promise; buildTrack(name: string): Track; createTrackAction(name: string): Action; createTrackActionWithData(track: Track): Action; grantBenefits(benefits: any[], options?: { title?: string; message?: string; okAction?: Action; closeable?: boolean; duration?: number; theme?: any; text?: string }): Promise; buildGrantBenefits(benefits: any[]): GrantBenefits; createGrantBenefitsAction(benefits: any[]): Action; createGrantBenefitsActionWithData(grantBenefits: GrantBenefits): Action; destroy(): void; static ActionCreator: typeof ActionCreator; static ActionType: typeof ActionType; static ActionData: typeof ActionData; static RNWebViewAdapter: typeof RNWebViewAdapter; static MockAdapter: typeof MockAdapter; static createDefault(options?: AdapterOptions): ActionBridge; static createWithMock(options?: AdapterOptions): ActionBridge; }