@class NSMapTable, SBHWidgetSearchController, NSArray, NSString, NSMutableDictionary, UIButton, UICollectionViewDiffableDataSource, SBHWidgetAddSheetTransitionContext, UICollectionView, MTMaterialView, UIViewController, NSIndexPath; @protocol SBHWidgetDragHandling, SBHWidgetSheetViewControllerPresenter; @interface SBHAddWidgetSheetViewController : SBHAddWidgetSheetViewControllerBase <UICollectionViewDelegate, UISheetPresentationControllerDelegate, SBHAddWidgetSheetViewControllerDelegate, SBHWidgetWrapperViewControllerDelegate, SBHMainAddSheetViewControlling, SBHWidgetSheetViewControlling, SBHWidgetDragHandlerPassing, UISearchResultsUpdating, UISearchControllerDelegate> { NSMutableDictionary *_userInfo; struct SBHPadAddWidgetSheetMetrics { double sheetMargin; double leadingPadding; double sidebarWidth; double gutterPadding; double trailingPadding; double topPadding; double widgetScaleFactor; struct CGSize { double width; double height; } scaledWidgetSize; unsigned long long widgetColumns; struct CGSize { double width; double height; } detailWidgetPadding; double detailAddButtonTopSpacing; double detailAddButtonBottomSpacing; double detailPageControlTopSpacing; } _landscapeMetrics; struct SBHPadAddWidgetSheetMetrics { double sheetMargin; double leadingPadding; double sidebarWidth; double gutterPadding; double trailingPadding; double topPadding; double widgetScaleFactor; struct CGSize { double width; double height; } scaledWidgetSize; unsigned long long widgetColumns; struct CGSize { double width; double height; } detailWidgetPadding; double detailAddButtonTopSpacing; double detailAddButtonBottomSpacing; double detailPageControlTopSpacing; } _portraitMetrics; double _widgetScaleFactor; NSIndexPath *_lastSelectedIndexPath; BOOL _performedInitialSelection; struct { double horizontalSpacing; struct SBIconImageInfo { struct CGSize { double width; double height; } size; double scale; double continuousCornerRadius; } iconImageInfo; } _sheetIconMetrics; UICollectionViewDiffableDataSource *_diffableDataSource; NSMapTable *_galleryIdentifierToGalleryItemLookupTable; NSMapTable *_applicationWidgetCollectionForApplicationWidgetCollectionIdentifierLookupTable; NSMapTable *_favoredApplicationWidgetCollectionForApplicationWidgetCollectionIdentifierLookupTable; NSMapTable *_disfavoredApplicationWidgetCollectionForApplicationWidgetCollectionIdentifierLookupTable; unsigned long long _addWidgetSheetLocation; } @property (retain, nonatomic) MTMaterialView *backgroundView; @property (retain, nonatomic) UICollectionView *collectionView; @property (retain, nonatomic) SBHWidgetSearchController *searchController; @property (retain, nonatomic) NSArray *searchBarGradientMaskLayers; @property (retain, nonatomic) NSArray *filteredApplicationWidgetCollections; @property (copy, nonatomic) NSArray *galleryItems; @property (retain, nonatomic) UIButton *closeButton; @property (retain, nonatomic) NSMutableDictionary *suggestedItemsByGalleryLayoutSize; @property (nonatomic) double horizontalSpacing; @property (nonatomic) struct NSDirectionalEdgeInsets { double top; double leading; double bottom; double trailing; } contentInsets; @property (nonatomic) struct NSDirectionalEdgeInsets { double top; double leading; double bottom; double trailing; } applicationsSectionInsets; @property (nonatomic) double searchBarHeightAdjustment; @property (nonatomic) struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } keyboardFrameIntersect; @property (retain, nonatomic) SBHWidgetAddSheetTransitionContext *transitionContext; @property (nonatomic) BOOL isShowingDisfavoredApplicationWidgetCollections; @property (retain, nonatomic) UIViewController *barSwipeViewController; @property (retain, nonatomic) SBHWidgetSearchController *externalSearchController; @property (nonatomic) BOOL shouldShowGalleryOnly; @property (nonatomic) BOOL shouldCenterAppCells; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, weak, nonatomic) id<SBHWidgetDragHandling> widgetDragHandler; @property (retain, nonatomic) NSArray *applicationWidgetCollections; @property (retain, nonatomic) NSArray *favoredApplicationWidgetCollections; @property (retain, nonatomic) NSArray *disfavoredApplicationWidgetCollections; @property (weak, nonatomic) id<SBHWidgetSheetViewControllerPresenter> presenter; @property (nonatomic) unsigned long long galleryLayoutSize; @property (readonly, nonatomic) NSMutableDictionary *userInfo; - (void)_contentSizeCategoryDidChange:(id)a0; - (void)collectionView:(id)a0 didUnhighlightItemAtIndexPath:(id)a1; - (void)collectionView:(id)a0 didSelectItemAtIndexPath:(id)a1; - (void)collectionView:(id)a0 didHighlightItemAtIndexPath:(id)a1; - (void)viewWillAppear:(BOOL)a0; - (void)dealloc; - (void)viewWillLayoutSubviews; - (void)viewDidLayoutSubviews; - (void)didDismissSearchController:(id)a0; - (void)_keyboardWillShow:(id)a0; - (void)loadView; - (void)_reloadData; - (unsigned long long)supportedInterfaceOrientations; - (void)presentationControllerWillDismiss:(id)a0; - (void)viewWillDisappear:(BOOL)a0; - (void)didMoveToParentViewController:(id)a0; - (void)updateSearchResultsForSearchController:(id)a0; - (void).cxx_destruct; - (void)willPresentSearchController:(id)a0; - (BOOL)collectionView:(id)a0 shouldSelectItemAtIndexPath:(id)a1; - (void)viewDidAppear:(BOOL)a0; - (void)viewDidDisappear:(BOOL)a0; - (void)scrollViewDidScroll:(id)a0; - (id)_suggestedItems; - (unsigned long long)addWidgetSheetLocation; - (void)addWidgetSheetViewController:(id)a0 didSelectWidgetIconView:(id)a1; - (void)addWidgetSheetViewControllerDidAppear:(id)a0; - (void)addWidgetSheetViewControllerDidCancel:(id)a0; - (void)addWidgetSheetViewControllerDidDisappear:(id)a0; - (void)addWidgetSheetViewControllerWillAppear:(id)a0; - (void)addWidgetSheetViewControllerWillDisappear:(id)a0; - (id)backgroundViewMatchingMaterialBeneathAddWidgetSheetViewController:(id)a0; - (id)backgroundViewMatchingMaterialBeneathWrapperViewController:(id)a0; - (void)closeButtonTapped:(id)a0; - (void)configureBackgroundView:(id)a0 matchingMaterialBeneathWrapperViewController:(id)a1; - (void)setAddWidgetSheetLocation:(unsigned long long)a0; - (void)setSuggestedItems:(id)a0 forGalleryLayoutSize:(unsigned long long)a1; - (id)suggestedItemsForGalleryLayoutSize:(unsigned long long)a0; - (id)collectionView:(id)a0 cellForItemAtIndexPath:(id)a1 itemIdentifier:(id)a2; - (void)_reloadData:(BOOL)a0; - (id)_presentedGalleryViewController; - (id)_newPadCollectionViewLayoutGallerySectionWithWidth:(double)a0 sizeClasses:(id)a1; - (void)_addBarSwipeView; - (unsigned long long)_applicationWidgetCollectionIndexForItemIndex:(unsigned long long)a0; - (void)_backgroundTapped:(id)a0; - (void)_clearDetailViewController; - (void)_collectionView:(id)a0 updateSeparatorVisibility:(BOOL)a1 forHighlightAtIndexPath:(id)a2; - (id)_collectionViewLayoutApplicationsSectionWithStyle:(unsigned long long)a0; - (id)_collectionViewLayoutGallerySectionWithWidth:(double)a0 sizeClasses:(id)a1; - (id)_currentPresenter; - (id)_effectiveSearchController; - (id)_generateLayoutSectionForSectionIdx:(unsigned long long)a0 width:(double)a1; - (id)_generateSnapshotDiffedFromSnapshot:(id)a0; - (double)_horizontalSpacingForListLayout:(id)a0; - (BOOL)_isSearchVisible; - (unsigned long long)_itemIndexForApplicationWidgetCollectionIndex:(unsigned long long)a0; - (id)_itemsArrayWithSizeClasses:(id)a0 nSmallsGroup:(id)a1 mediumAndSmallGroup:(id)a2 usesThreeColumnLayout:(BOOL)a3; - (void)_keyboardWillDismiss:(id)a0; - (void)_layoutCollectionViewForScalingIfNeeded; - (void)_layoutSearchBarGradientMaskLayers; - (id)_listLayoutForWidgetSizing; - (void)_makeFakeGalleryItemsFromHomeScreenItems:(id)a0; - (void)_makeGalleryItemsFromHomeScreenItems:(id)a0; - (id)_materialViewForVisualStyling; - (struct SBHPadAddWidgetSheetMetrics { double x0; double x1; double x2; double x3; double x4; double x5; double x6; struct CGSize { double x0; double x1; } x7; unsigned long long x8; struct CGSize { double x0; double x1; } x9; double x10; double x11; double x12; })_metricsForOrientation:(long long)a0; - (id)_newBackgroundView; - (id)_newWrapperViewControllerWithGalleryItem:(id)a0 sizeClass:(long long)a1; - (id)_otherDescriptionLabel; - (id)_podsArrayWithSizeClasses:(id)a0 columnCount:(long long)a1; - (void)_presentDetailSheetForGalleryCellAtIndexPath:(id)a0; - (void)_presentDetailSheetViewControllerForApplicationWidgetCollection:(id)a0; - (void)_presentDetailSheetViewControllerForApplicationWidgetCollection:(id)a0 configuredWithGalleryItem:(id)a1 selectedSizeClass:(long long)a2 fromCell:(id)a3 atIndexPath:(id)a4; - (void)_presentDetailViewController:(id)a0 fromCell:(id)a1; - (void)_presentGalleryCell; - (void)_refreshData:(BOOL)a0; - (unsigned long long)_sectionIndexForSection:(unsigned long long)a0; - (void)_selectFirstItem; - (BOOL)_shouldAnimateChanges; - (BOOL)_shouldShowDisfavoredSection; - (BOOL)_shouldShowGallery; - (BOOL)_shouldShowSuggestionsListItem; - (BOOL)_shouldShowTitleAndSubtitle; - (id)_sizeClasses; - (void)_splitApplicationWidgetCollections; - (void)_toggleShowingDisfavoredApplicationWidgetCollections; - (void)_updateCollectionViewInsets; - (void)_updateHorizontalSpacing; - (void)_updateSearchBarContentInsets; - (id)applicationWidgetCollectionsToUse; - (id)initWithListLayoutProvider:(id)a0 iconViewProvider:(id)a1 allowedWidgets:(struct SBHWidgetFilteringParameters { unsigned long long x0; BOOL x1; BOOL x2; })a2 appCellConfigurator:(id)a3 addWidgetSheetStyle:(unsigned long long)a4; - (struct { double x0; struct SBIconImageInfo { struct CGSize { double x0; double x1; } x0; double x1; double x2; } x1; })sheetIconMetrics; - (long long)widgetWrapperViewControllerBackgroundType; @end