import { AdapterOptions, IActionAdapter, MockAdapter, RNWebViewAdapter, SendActionOption, } from '../adapters/index.js'; import { Action, ActionCreator, ActionData, ActionType, AgencyInvite, AgencyInviteTypeValue, Ask, AskOptions, BenefitItem, Close, Config, ConfigOptions, EnterRoom, EnterRoomResult, Goback, GrantBenefits, GrantBenefitsOptions, Jump, LiveDetect, LiveDetectResult, Navigate, Onelink, Recharge, RechargeOptions, RechargeOrder, RefreshUserInfo, Replace, Track, UploadImage, UploadImageOptions, UploadImageResult, VerifyTradePassword, } from '../core/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; ask(id: number, options?: AskOptions): Promise; buildAsk(id: number): Ask; createAskAction(id: number): Action; createAskActionWithData(ask: Ask): Action; agencyInvite(id: number, type: AgencyInviteTypeValue): Promise; buildAgencyInvite(id: number, type: AgencyInviteTypeValue): AgencyInvite; createAgencyInviteAction(id: number, type: AgencyInviteTypeValue): Action; createAgencyInviteActionWithData(agencyInvite: AgencyInvite): Action; recharge(options?: RechargeOptions): Promise; buildRecharge(): Recharge; createRechargeAction(): Action; createRechargeActionWithData(recharge: Recharge): Action; refreshUserInfo(): Promise; buildRefreshUserInfo(): RefreshUserInfo; createRefreshUserInfoAction(): Action; createRefreshUserInfoActionWithData(refreshUserInfo: RefreshUserInfo): Action; close(): Promise; buildClose(): Close; createCloseAction(): Action; createCloseActionWithData(close: Close): Action; config(options?: ConfigOptions): 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: BenefitItem[], options?: GrantBenefitsOptions, ): Promise; buildGrantBenefits(benefits: BenefitItem[]): GrantBenefits; createGrantBenefitsAction(benefits: BenefitItem[]): Action; createGrantBenefitsActionWithData(grantBenefits: GrantBenefits): Action; verifyTradePassword(): Promise; buildVerifyTradePassword(): VerifyTradePassword; createVerifyTradePasswordAction(): Action; createVerifyTradePasswordActionWithData( verifyTradePassword: VerifyTradePassword, ): Action; uploadImage(options?: UploadImageOptions): Promise; buildUploadImage(): UploadImage; createUploadImageAction(): Action; createUploadImageActionWithData(uploadImage: UploadImage): 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; }