@class NSString, CKAppCardPresentationOverseer, CKBrowserSwitcherViewController, CKBrowserTransitionCoordinator, IMBalloonPlugin, CKExpandedAppViewController, IMAStickerPickerPresentationContext, UIViewController; @protocol IMAAppPresenterDelegate; @interface IMAAppPresenter : NSObject <CKBrowserViewControllerSendDelegate, CKBrowserSwitcherViewControllerDelegate, CKExpandedAppViewControllerDelegate, CKBrowserDragControllerTranscriptDelegate, CKBrowserTransitionCoordinatorDelegate, CKAppCardPresentationOverseerDelegate> { IMBalloonPlugin *_currentBalloonPlugin; CKExpandedAppViewController *_expandedAppViewController; CKBrowserTransitionCoordinator *_transitionCoordinator; BOOL _isTransitioningPresentationStyles; } @property (retain, nonatomic) CKBrowserSwitcherViewController *switcherViewController; @property (retain, nonatomic) CKAppCardPresentationOverseer *appCardPresentationOverseer; @property (retain, nonatomic) IMAStickerPickerPresentationContext *savedStickerPresentationContext; @property (weak, nonatomic) id<IMAAppPresenterDelegate> delegate; @property (nonatomic) double compactHeight; @property (nonatomic) BOOL alwaysPresentAppsExpanded; @property (readonly, nonatomic) UIViewController *currentAppViewController; @property (nonatomic) BOOL hidesCompactAppForStickerDrag; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)logHandle; + (void)disableAutomaticAppDiscovery; + (void)loadAppWithIdentifierIfNeeded:(id)a0; - (void)dismiss; - (id)logHandle; - (id)init; - (BOOL)isAppCardsEnabled; - (void)dealloc; - (void).cxx_destruct; - (id)activeSendMenuPresentationForAppCardOverseer; - (void)appCardDidMoveToWindow:(id)a0; - (void)appCardOverseerCardDidChangeHeight:(double)a0 isBelowKeyboardDetent:(BOOL)a1 isDragging:(BOOL)a2 isGeneratingEndOfDragAnimations:(BOOL)a3; - (double)appCardOverseerCompactHeightExcludingSafeArea; - (void)appCardOverseerDidDismissAppCard; - (void)appCardOverseerDidPresentAppCard; - (void)appCardOverseerDidRecognizeTouchTracker; - (void)appCardOverseerDidRequestPresentationSendMenuWithCompletion:(id /* block */)a0; - (void)appCardOverseerViewStateDidChange:(BOOL)a0; - (void)appCardOverseerWillDismissAppCard; - (void)appCardOverseerWillPresentAppCard; - (struct CGSize { double x0; double x1; })browserTransitionCoordinator:(id)a0 preferredSizeForBrowser:(id)a1; - (double)browserTransitionCoordinatorCollapsedContentHeight:(id)a0; - (void)browserTransitionCoordinatorDidCollapseOrDismiss:(id)a0 withReason:(long long)a1; - (void)browserTransitionCoordinatorDidTransitionOrPresentToFullscreen:(id)a0 withReason:(long long)a1; - (BOOL)browserTransitionCoordinatorShouldDismissOnDragSuccess:(id)a0; - (void)browserTransitionCoordinatorWillCollapseOrDismiss:(id)a0 withReason:(long long)a1; - (void)browserTransitionCoordinatorWillTransitionOrPresentToFullscreen:(id)a0 withReason:(long long)a1; - (void)canShowBrowserForPluginIdentifier:(id)a0 completion:(id /* block */)a1; - (void)commitPayload:(id)a0; - (void)commitSticker:(id)a0 stickerFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (void)commitSticker:(id)a0 withDragTarget:(id)a1 draggedSticker:(id)a2; - (void)dismissAndReloadInputViews:(BOOL)a0; - (void)dismissAndReloadInputViews:(BOOL)a0 forPlugin:(id)a1; - (void)dismissToKeyboard:(BOOL)a0; - (id)dragControllerTranscriptDelegate; - (void)dragManager:(id)a0 draggedItemWithTarget:(id)a1; - (int)dragManager:(id)a0 dropAreaForDragTarget:(id)a1; - (void)dragManager:(id)a0 overrideDropPointForTarget:(id)a1 completion:(id /* block */)a2; - (void)dragManagerDidBeginDragging:(id)a0; - (void)dragManagerDidEndDragging:(id)a0; - (void)openURL:(id)a0 applicationIdentifier:(id)a1 pluginID:(id)a2 completionHandler:(id /* block */)a3; - (void)openURL:(id)a0 pluginID:(id)a1 completionHandler:(id /* block */)a2; - (void)presentAlertWithTitle:(id)a0 message:(id)a1 buttonTitle:(id)a2 completion:(id /* block */)a3; - (void)requestPresentationStyleExpanded:(BOOL)a0; - (void)requestPresentationStyleFullScreenModalForPlugin:(id)a0 preferredContentSize:(struct CGSize { double x0; double x1; })a1; - (void)setLocalUserIsTyping:(BOOL)a0; - (BOOL)shouldAlwaysShowAppTitle; - (BOOL)shouldPresentAppCardInSendMenuWithTraitCollection:(id)a0; - (void)showBrowserForPluginIdentifier:(id)a0 style:(unsigned long long)a1 completion:(id /* block */)a2; - (void)startEditingPayload:(id)a0; - (void)startEditingPayload:(id)a0 dismiss:(BOOL)a1; - (void)stickerDruidDragEndedWithIMSticker:(id)a0; - (void)stickerDruidDragStarted; - (void)switcherViewControllerDidCollapse:(id)a0; - (void)switcherViewControllerDidFinishSwitching:(id)a0 toViewController:(id)a1; - (BOOL)switcherViewControllerShouldShowIconAndTitleWhenCompact:(id)a0; - (id)transitionsPresentationViewController; - (void)notifyDelegateOfSelectedPlugin:(id)a0; - (void)_hideAppCardAnimated:(BOOL)a0 completion:(id /* block */)a1; - (void)_hideCompactBrowserAnimated:(BOOL)a0 completion:(id /* block */)a1; - (void)_presentAppCardWithBundleIdentifier:(id)a0 completion:(id /* block */)a1; - (void)_presentAppCardWithBundleIdentifier:(id)a0 style:(unsigned long long)a1 completion:(id /* block */)a2; - (void)_presentAppWithBundleIdentifier:(id)a0 completion:(id /* block */)a1; - (BOOL)addSwitcher; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })alwaysExpandedAppViewControllerFrame; - (void)animateSwitcherOffscreen:(BOOL)a0 completion:(id /* block */)a1; - (void)appPresenterDidSelectAppWithIdentifier:(id)a0; - (void)appPresenterDidSelectAppWithIdentifier:(id)a0 type:(id)a1; - (id)appViewControllerPresenter; - (void)convertIMSticker:(id)a0 bakeInEffect:(BOOL)a1 completion:(id /* block */)a2; - (id)convertStickerToIMASticker:(id)a0; - (id)currentStickerViewController; - (void)hideAppViewControllerAnimated:(BOOL)a0 completion:(id /* block */)a1; - (BOOL)isAppCompact; - (BOOL)isSwitcherOffscreen; - (void)notifyDelegateOfSelectedPlugin:(id)a0 type:(id)a1; - (void)positionSwitcherOffscreen:(BOOL)a0; - (void)presentAppWithBundleIdentifier:(id)a0 completion:(id /* block */)a1; - (void)presentFullScreenModalAppWithBundleIdentifier:(id)a0 completion:(id /* block */)a1; - (void)presentPopoverAppWithBundleIdentifier:(id)a0 sourceRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 inView:(id)a2 completion:(id /* block */)a3; - (BOOL)presentsStickerPickerInPopover; - (double)switcherHeight; - (void)updateAppFrameForRotation; - (void)updatePopoverWindowLocation:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 completion:(id /* block */)a2; - (void)updateSwitcherViewFrame; @end