nativescript-bottom-navigation
Version:
NativeScript plugin to add a bottom navigation component for Android & iOS
1,606 lines (847 loc) • 234 kB
TypeScript
declare const enum MDCActionEmphasis {
Low = 0,
Medium = 1,
High = 2
}
declare class MDCActionSheetAction extends NSObject implements NSCopying, UIAccessibilityIdentification {
static actionWithTitleImageHandler(title: string, image: UIImage, handler: (p1: MDCActionSheetAction) => void): MDCActionSheetAction;
static alloc(): MDCActionSheetAction; // inherited from NSObject
static new(): MDCActionSheetAction; // inherited from NSObject
readonly image: UIImage;
readonly title: string;
accessibilityIdentifier: string; // inherited from UIAccessibilityIdentification
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class MDCActionSheetController extends UIViewController {
static actionSheetControllerWithTitle(title: string): MDCActionSheetController;
static actionSheetControllerWithTitleMessage(title: string, message: string): MDCActionSheetController;
static alloc(): MDCActionSheetController; // inherited from NSObject
static new(): MDCActionSheetController; // inherited from NSObject
actionFont: UIFont;
actionTextColor: UIColor;
actionTintColor: UIColor;
readonly actions: NSArray<MDCActionSheetAction>;
backgroundColor: UIColor;
imageRenderingMode: UIImageRenderingMode;
inkColor: UIColor;
mdc_adjustsFontForContentSizeCategory: boolean;
message: string;
messageFont: UIFont;
messageTextColor: UIColor;
titleFont: UIFont;
titleTextColor: UIColor;
readonly transitionController: MDCBottomSheetTransitionController;
addAction(action: MDCActionSheetAction): void;
applyThemeWithScheme(scheme: MDCContainerScheming): void;
}
declare class MDCActivityIndicator extends UIView {
static alloc(): MDCActivityIndicator; // inherited from NSObject
static appearance(): MDCActivityIndicator; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCActivityIndicator; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCActivityIndicator; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCActivityIndicator; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCActivityIndicator; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCActivityIndicator; // inherited from UIAppearance
static new(): MDCActivityIndicator; // inherited from NSObject
animating: boolean;
cycleColors: NSArray<UIColor>;
delegate: MDCActivityIndicatorDelegate;
indicatorMode: MDCActivityIndicatorMode;
progress: number;
radius: number;
strokeWidth: number;
trackEnabled: boolean;
setIndicatorModeAnimated(mode: MDCActivityIndicatorMode, animated: boolean): void;
setProgressAnimated(progress: number, animated: boolean): void;
startAnimating(): void;
startAnimatingWithTransitionCycleStartIndex(startTransition: MDCActivityIndicatorTransition, cycleStartIndex: number): void;
stopAnimating(): void;
stopAnimatingWithTransition(stopTransition: MDCActivityIndicatorTransition): void;
}
declare class MDCActivityIndicatorColorThemer extends NSObject {
static alloc(): MDCActivityIndicatorColorThemer; // inherited from NSObject
static applyColorSchemeToActivityIndicator(colorScheme: MDCColorScheme, activityIndicator: MDCActivityIndicator): void;
static applySemanticColorSchemeToActivityIndicator(colorScheme: MDCColorScheming, activityIndicator: MDCActivityIndicator): void;
static new(): MDCActivityIndicatorColorThemer; // inherited from NSObject
}
interface MDCActivityIndicatorDelegate extends NSObjectProtocol {
activityIndicatorAnimationDidFinish?(activityIndicator: MDCActivityIndicator): void;
activityIndicatorModeTransitionDidFinish?(activityIndicator: MDCActivityIndicator): void;
}
declare var MDCActivityIndicatorDelegate: {
prototype: MDCActivityIndicatorDelegate;
};
declare const enum MDCActivityIndicatorMode {
Indeterminate = 0,
Determinate = 1
}
declare class MDCActivityIndicatorTransition extends NSObject {
static alloc(): MDCActivityIndicatorTransition; // inherited from NSObject
static new(): MDCActivityIndicatorTransition; // inherited from NSObject
animation: (p1: number, p2: number) => void;
completion: () => void;
duration: number;
constructor(o: { animation: (p1: number, p2: number) => void; });
initWithAnimation(animation: (p1: number, p2: number) => void): this;
}
declare class MDCAlertAction extends NSObject implements NSCopying, UIAccessibilityIdentification {
static actionWithTitleEmphasisHandler(title: string, emphasis: MDCActionEmphasis, handler: (p1: MDCAlertAction) => void): MDCAlertAction;
static actionWithTitleHandler(title: string, handler: (p1: MDCAlertAction) => void): MDCAlertAction;
static alloc(): MDCAlertAction; // inherited from NSObject
static new(): MDCAlertAction; // inherited from NSObject
readonly emphasis: MDCActionEmphasis;
readonly title: string;
accessibilityIdentifier: string; // inherited from UIAccessibilityIdentification
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class MDCAlertColorThemer extends NSObject {
static alloc(): MDCAlertColorThemer; // inherited from NSObject
static applyColorScheme(colorScheme: MDCColorScheme): void;
static applySemanticColorSchemeToAlertController(colorScheme: MDCColorScheming, alertController: MDCAlertController): void;
static new(): MDCAlertColorThemer; // inherited from NSObject
}
declare class MDCAlertController extends UIViewController {
static alertControllerWithTitleMessage(title: string, message: string): MDCAlertController;
static alloc(): MDCAlertController; // inherited from NSObject
static new(): MDCAlertController; // inherited from NSObject
readonly actions: NSArray<MDCAlertAction>;
backgroundColor: UIColor;
buttonFont: UIFont;
buttonInkColor: UIColor;
buttonTitleColor: UIColor;
cornerRadius: number;
elevation: number;
mdc_adjustsFontForContentSizeCategory: boolean;
message: string;
messageColor: UIColor;
messageFont: UIFont;
scrimColor: UIColor;
titleAlignment: NSTextAlignment;
titleColor: UIColor;
titleFont: UIFont;
titleIcon: UIImage;
titleIconTintColor: UIColor;
addAction(action: MDCAlertAction): void;
applyThemeWithScheme(scheme: MDCContainerScheming): void;
buttonForAction(action: MDCAlertAction): MDCButton;
}
declare class MDCAlertControllerThemer extends NSObject {
static alloc(): MDCAlertControllerThemer; // inherited from NSObject
static applySchemeToAlertController(alertScheme: MDCAlertScheming, alertController: MDCAlertController): void;
static new(): MDCAlertControllerThemer; // inherited from NSObject
}
declare class MDCAlertControllerView extends UIView {
static alloc(): MDCAlertControllerView; // inherited from NSObject
static appearance(): MDCAlertControllerView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCAlertControllerView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCAlertControllerView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCAlertControllerView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCAlertControllerView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCAlertControllerView; // inherited from UIAppearance
static new(): MDCAlertControllerView; // inherited from NSObject
buttonColor: UIColor;
buttonFont: UIFont;
buttonInkColor: UIColor;
cornerRadius: number;
mdc_adjustsFontForContentSizeCategory: boolean;
messageColor: UIColor;
messageFont: UIFont;
titleAlignment: NSTextAlignment;
titleColor: UIColor;
titleFont: UIFont;
titleIcon: UIImage;
titleIconTintColor: UIColor;
}
declare class MDCAlertScheme extends NSObject implements MDCAlertScheming {
static alloc(): MDCAlertScheme; // inherited from NSObject
static new(): MDCAlertScheme; // inherited from NSObject
buttonScheme: MDCButtonScheming;
colorScheme: MDCColorScheming;
cornerRadius: number;
elevation: number;
typographyScheme: MDCTypographyScheming;
}
interface MDCAlertScheming {
buttonScheme: MDCButtonScheming;
colorScheme: MDCColorScheming;
cornerRadius: number;
elevation: number;
typographyScheme: MDCTypographyScheming;
}
declare var MDCAlertScheming: {
prototype: MDCAlertScheming;
};
declare class MDCAlertTypographyThemer extends NSObject {
static alloc(): MDCAlertTypographyThemer; // inherited from NSObject
static applyTypographySchemeToAlertController(typographyScheme: MDCTypographyScheming, alertController: MDCAlertController): void;
static new(): MDCAlertTypographyThemer; // inherited from NSObject
}
declare const enum MDCAnimationTimingFunction {
Standard = 0,
Deceleration = 1,
Acceleration = 2,
Sharp = 3,
EaseInOut = 0,
EaseOut = 1,
EaseIn = 2,
Translate = 0,
TranslateOnScreen = 1,
TranslateOffScreen = 2,
FadeIn = 1,
FadeOut = 2
}
declare class MDCAppBar extends NSObject {
static alloc(): MDCAppBar; // inherited from NSObject
static new(): MDCAppBar; // inherited from NSObject
readonly appBarViewController: MDCAppBarViewController;
readonly headerStackView: MDCHeaderStackView;
readonly headerViewController: MDCFlexibleHeaderViewController;
inferTopSafeAreaInsetFromViewController: boolean;
readonly navigationBar: MDCNavigationBar;
addSubviewsToParent(): void;
}
declare class MDCAppBarColorThemer extends NSObject {
static alloc(): MDCAppBarColorThemer; // inherited from NSObject
static applyColorSchemeToAppBar(colorScheme: MDCColorScheme, appBar: MDCAppBar): void;
static applyColorSchemeToAppBarViewController(colorScheme: MDCColorScheming, appBarViewController: MDCAppBarViewController): void;
static applySemanticColorSchemeToAppBar(colorScheme: MDCColorScheming, appBar: MDCAppBar): void;
static applySurfaceVariantWithColorSchemeToAppBar(colorScheme: MDCColorScheming, appBar: MDCAppBar): void;
static applySurfaceVariantWithColorSchemeToAppBarViewController(colorScheme: MDCColorScheming, appBarViewController: MDCAppBarViewController): void;
static new(): MDCAppBarColorThemer; // inherited from NSObject
}
declare class MDCAppBarContainerViewController extends UIViewController {
static alloc(): MDCAppBarContainerViewController; // inherited from NSObject
static new(): MDCAppBarContainerViewController; // inherited from NSObject
readonly appBar: MDCAppBar;
readonly appBarViewController: MDCAppBarViewController;
readonly contentViewController: UIViewController;
topLayoutGuideAdjustmentEnabled: boolean;
constructor(o: { contentViewController: UIViewController; });
initWithContentViewController(contentViewController: UIViewController): this;
}
declare class MDCAppBarNavigationController extends UINavigationController {
static alloc(): MDCAppBarNavigationController; // inherited from NSObject
static new(): MDCAppBarNavigationController; // inherited from NSObject
delegate: MDCAppBarNavigationControllerDelegate;
appBarForViewController(viewController: UIViewController): MDCAppBar;
appBarViewControllerForViewController(viewController: UIViewController): MDCAppBarViewController;
}
interface MDCAppBarNavigationControllerDelegate extends UINavigationControllerDelegate {
appBarNavigationControllerTrackingScrollViewForViewControllerSuggestedTrackingScrollView?(navigationController: MDCAppBarNavigationController, viewController: UIViewController, scrollView: UIScrollView): UIScrollView;
appBarNavigationControllerWillAddAppBarAsChildOfViewController?(navigationController: MDCAppBarNavigationController, appBar: MDCAppBar, viewController: UIViewController): void;
appBarNavigationControllerWillAddAppBarViewControllerAsChildOfViewController?(navigationController: MDCAppBarNavigationController, appBarViewController: MDCAppBarViewController, viewController: UIViewController): void;
}
declare var MDCAppBarNavigationControllerDelegate: {
prototype: MDCAppBarNavigationControllerDelegate;
};
declare class MDCAppBarTypographyThemer extends NSObject {
static alloc(): MDCAppBarTypographyThemer; // inherited from NSObject
static applyTypographySchemeToAppBar(typographyScheme: MDCTypographyScheming, appBar: MDCAppBar): void;
static applyTypographySchemeToAppBarViewController(typographyScheme: MDCTypographyScheming, appBarViewController: MDCAppBarViewController): void;
static new(): MDCAppBarTypographyThemer; // inherited from NSObject
}
declare class MDCAppBarViewController extends MDCFlexibleHeaderViewController {
static alloc(): MDCAppBarViewController; // inherited from NSObject
static new(): MDCAppBarViewController; // inherited from NSObject
headerStackView: MDCHeaderStackView;
navigationBar: MDCNavigationBar;
applyPrimaryThemeWithScheme(containerScheme: MDCContainerScheming): void;
applySurfaceThemeWithScheme(containerScheme: MDCContainerScheming): void;
}
declare const enum MDCBarButtonItemLayoutHints {
None = 0,
IsFirstButton = 1,
IsLastButton = 2
}
declare class MDCBaseCell extends UICollectionViewCell {
static alloc(): MDCBaseCell; // inherited from NSObject
static appearance(): MDCBaseCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCBaseCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCBaseCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBaseCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCBaseCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBaseCell; // inherited from UIAppearance
static new(): MDCBaseCell; // inherited from NSObject
elevation: number;
inkColor: UIColor;
}
declare class MDCBasicColorScheme extends NSObject implements MDCColorScheme, NSCopying {
static alloc(): MDCBasicColorScheme; // inherited from NSObject
static new(): MDCBasicColorScheme; // inherited from NSObject
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly primaryColor: UIColor; // inherited from MDCColorScheme
readonly primaryDarkColor: UIColor; // inherited from MDCColorScheme
readonly primaryLightColor: UIColor; // inherited from MDCColorScheme
readonly secondaryColor: UIColor; // inherited from MDCColorScheme
readonly secondaryDarkColor: UIColor; // inherited from MDCColorScheme
readonly secondaryLightColor: UIColor; // inherited from MDCColorScheme
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
constructor(o: { primaryColor: UIColor; });
constructor(o: { primaryColor: UIColor; primaryLightColor: UIColor; primaryDarkColor: UIColor; });
constructor(o: { primaryColor: UIColor; primaryLightColor: UIColor; primaryDarkColor: UIColor; secondaryColor: UIColor; secondaryLightColor: UIColor; secondaryDarkColor: UIColor; });
constructor(o: { primaryColor: UIColor; secondaryColor: UIColor; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
initWithPrimaryColor(primaryColor: UIColor): this;
initWithPrimaryColorPrimaryLightColorPrimaryDarkColor(primaryColor: UIColor, primaryLightColor: UIColor, primaryDarkColor: UIColor): this;
initWithPrimaryColorPrimaryLightColorPrimaryDarkColorSecondaryColorSecondaryLightColorSecondaryDarkColor(primaryColor: UIColor, primaryLightColor: UIColor, primaryDarkColor: UIColor, secondaryColor: UIColor, secondaryLightColor: UIColor, secondaryDarkColor: UIColor): this;
initWithPrimaryColorSecondaryColor(primaryColor: UIColor, secondaryColor: UIColor): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class MDCBasicFontScheme extends NSObject implements MDCFontScheme {
static alloc(): MDCBasicFontScheme; // inherited from NSObject
static new(): MDCBasicFontScheme; // inherited from NSObject
body1: UIFont;
body2: UIFont;
button: UIFont;
caption: UIFont;
headline1: UIFont;
headline2: UIFont;
headline3: UIFont;
headline4: UIFont;
headline5: UIFont;
headline6: UIFont;
overline: UIFont;
subtitle1: UIFont;
subtitle2: UIFont;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class MDCBottomAppBarColorThemer extends NSObject {
static alloc(): MDCBottomAppBarColorThemer; // inherited from NSObject
static applyColorSchemeToBottomAppBarView(colorScheme: MDCColorScheme, bottomAppBarView: MDCBottomAppBarView): void;
static applySurfaceVariantWithSemanticColorSchemeToBottomAppBarView(colorScheme: MDCColorScheming, bottomAppBarView: MDCBottomAppBarView): void;
static new(): MDCBottomAppBarColorThemer; // inherited from NSObject
}
declare const enum MDCBottomAppBarFloatingButtonElevation {
Primary = 0,
Secondary = 1
}
declare const enum MDCBottomAppBarFloatingButtonPosition {
Center = 0,
Leading = 1,
Trailing = 2
}
declare class MDCBottomAppBarView extends UIView {
static alloc(): MDCBottomAppBarView; // inherited from NSObject
static appearance(): MDCBottomAppBarView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCBottomAppBarView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCBottomAppBarView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBottomAppBarView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCBottomAppBarView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBottomAppBarView; // inherited from UIAppearance
static new(): MDCBottomAppBarView; // inherited from NSObject
barTintColor: UIColor;
readonly floatingButton: MDCFloatingButton;
floatingButtonElevation: MDCBottomAppBarFloatingButtonElevation;
floatingButtonHidden: boolean;
floatingButtonPosition: MDCBottomAppBarFloatingButtonPosition;
floatingButtonVerticalOffset: number;
leadingBarButtonItems: NSArray<UIBarButtonItem>;
leadingBarItemsTintColor: UIColor;
shadowColor: UIColor;
trailingBarButtonItems: NSArray<UIBarButtonItem>;
trailingBarItemsTintColor: UIColor;
setFloatingButtonElevationAnimated(floatingButtonElevation: MDCBottomAppBarFloatingButtonElevation, animated: boolean): void;
setFloatingButtonHiddenAnimated(floatingButtonHidden: boolean, animated: boolean): void;
setFloatingButtonPositionAnimated(floatingButtonPosition: MDCBottomAppBarFloatingButtonPosition, animated: boolean): void;
}
declare class MDCBottomDrawerColorThemer extends NSObject {
static alloc(): MDCBottomDrawerColorThemer; // inherited from NSObject
static applySemanticColorSchemeToBottomDrawer(colorScheme: MDCColorScheming, bottomDrawer: MDCBottomDrawerViewController): void;
static new(): MDCBottomDrawerColorThemer; // inherited from NSObject
}
interface MDCBottomDrawerHeader {
updateDrawerHeaderTransitionRatio?(transitionToTopRatio: number): void;
}
declare var MDCBottomDrawerHeader: {
prototype: MDCBottomDrawerHeader;
};
declare class MDCBottomDrawerPresentationController extends UIPresentationController {
static alloc(): MDCBottomDrawerPresentationController; // inherited from NSObject
static new(): MDCBottomDrawerPresentationController; // inherited from NSObject
readonly contentReachesFullscreen: boolean;
delegate: MDCBottomDrawerPresentationControllerDelegate;
maximumInitialDrawerHeight: number;
scrimColor: UIColor;
topHandleColor: UIColor;
topHandleHidden: boolean;
trackingScrollView: UIScrollView;
expandToFullscreenWithDurationCompletion(duration: number, completion: (p1: boolean) => void): void;
setContentOffsetYAnimated(contentOffsetY: number, animated: boolean): void;
}
interface MDCBottomDrawerPresentationControllerDelegate extends UIAdaptivePresentationControllerDelegate {
bottomDrawerTopTransitionRatioTransitionRatio(presentationController: MDCBottomDrawerPresentationController, transitionRatio: number): void;
bottomDrawerWillChangeStateDrawerState(presentationController: MDCBottomDrawerPresentationController, drawerState: MDCBottomDrawerState): void;
}
declare var MDCBottomDrawerPresentationControllerDelegate: {
prototype: MDCBottomDrawerPresentationControllerDelegate;
};
declare const enum MDCBottomDrawerState {
Collapsed = 0,
Expanded = 1,
FullScreen = 2
}
declare class MDCBottomDrawerTransitionController extends NSObject implements UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate {
static alloc(): MDCBottomDrawerTransitionController; // inherited from NSObject
static new(): MDCBottomDrawerTransitionController; // inherited from NSObject
trackingScrollView: UIScrollView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
animateTransition(transitionContext: UIViewControllerContextTransitioning): void;
animationControllerForDismissedController(dismissed: UIViewController): UIViewControllerAnimatedTransitioning;
animationControllerForPresentedControllerPresentingControllerSourceController(presented: UIViewController, presenting: UIViewController, source: UIViewController): UIViewControllerAnimatedTransitioning;
animationEnded(transitionCompleted: boolean): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
interactionControllerForDismissal(animator: UIViewControllerAnimatedTransitioning): UIViewControllerInteractiveTransitioning;
interactionControllerForPresentation(animator: UIViewControllerAnimatedTransitioning): UIViewControllerInteractiveTransitioning;
interruptibleAnimatorForTransition(transitionContext: UIViewControllerContextTransitioning): UIViewImplicitlyAnimating;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
presentationControllerForPresentedViewControllerPresentingViewControllerSourceViewController(presented: UIViewController, presenting: UIViewController, source: UIViewController): UIPresentationController;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
transitionDuration(transitionContext: UIViewControllerContextTransitioning): number;
}
declare class MDCBottomDrawerViewController extends UIViewController implements MDCBottomDrawerPresentationControllerDelegate {
static alloc(): MDCBottomDrawerViewController; // inherited from NSObject
static new(): MDCBottomDrawerViewController; // inherited from NSObject
contentViewController: UIViewController;
delegate: MDCBottomDrawerViewControllerDelegate;
readonly drawerState: MDCBottomDrawerState;
headerViewController: UIViewController;
maximumInitialDrawerHeight: number;
scrimColor: UIColor;
topHandleColor: UIColor;
topHandleHidden: boolean;
trackingScrollView: UIScrollView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
adaptivePresentationStyleForPresentationController(controller: UIPresentationController): UIModalPresentationStyle;
adaptivePresentationStyleForPresentationControllerTraitCollection(controller: UIPresentationController, traitCollection: UITraitCollection): UIModalPresentationStyle;
bottomDrawerTopTransitionRatioTransitionRatio(presentationController: MDCBottomDrawerPresentationController, transitionRatio: number): void;
bottomDrawerWillChangeStateDrawerState(presentationController: MDCBottomDrawerPresentationController, drawerState: MDCBottomDrawerState): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
expandToFullscreenWithDurationCompletion(duration: number, completion: (p1: boolean) => void): void;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
presentationControllerViewControllerForAdaptivePresentationStyle(controller: UIPresentationController, style: UIModalPresentationStyle): UIViewController;
presentationControllerWillPresentWithAdaptiveStyleTransitionCoordinator(presentationController: UIPresentationController, style: UIModalPresentationStyle, transitionCoordinator: UIViewControllerTransitionCoordinator): void;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
setContentOffsetYAnimated(contentOffsetY: number, animated: boolean): void;
setTopCornersRadiusForDrawerState(radius: number, drawerState: MDCBottomDrawerState): void;
topCornersRadiusForDrawerState(drawerState: MDCBottomDrawerState): number;
}
interface MDCBottomDrawerViewControllerDelegate extends NSObjectProtocol {
bottomDrawerControllerDidChangeTopInsetTopInset(controller: MDCBottomDrawerViewController, topInset: number): void;
}
declare var MDCBottomDrawerViewControllerDelegate: {
prototype: MDCBottomDrawerViewControllerDelegate;
};
declare class MDCBottomNavigationBar extends UIView {
static alloc(): MDCBottomNavigationBar; // inherited from NSObject
static appearance(): MDCBottomNavigationBar; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCBottomNavigationBar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCBottomNavigationBar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBottomNavigationBar; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCBottomNavigationBar; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCBottomNavigationBar; // inherited from UIAppearance
static new(): MDCBottomNavigationBar; // inherited from NSObject
alignment: MDCBottomNavigationBarAlignment;
backgroundBlurEffectStyle: UIBlurEffectStyle;
backgroundBlurEnabled: boolean;
readonly barItemsBottomAnchor: NSLayoutYAxisAnchor;
barTintColor: UIColor;
delegate: MDCBottomNavigationBarDelegate;
elevation: number;
itemTitleFont: UIFont;
items: NSArray<UITabBarItem>;
itemsContentHorizontalMargin: number;
itemsContentVerticalMargin: number;
selectedItem: UITabBarItem;
selectedItemTintColor: UIColor;
selectedItemTitleColor: UIColor;
sizeThatFitsIncludesSafeArea: boolean;
titleVisibility: MDCBottomNavigationBarTitleVisibility;
titlesNumberOfLines: number;
truncatesLongTitles: boolean;
unselectedItemTintColor: UIColor;
viewForItem(item: UITabBarItem): UIView;
}
declare const enum MDCBottomNavigationBarAlignment {
Justified = 0,
JustifiedAdjacentTitles = 1,
Centered = 2
}
declare class MDCBottomNavigationBarColorThemer extends NSObject {
static alloc(): MDCBottomNavigationBarColorThemer; // inherited from NSObject
static applyColorSchemeToBottomNavigationBar(colorScheme: MDCColorScheme, bottomNavigationBar: MDCBottomNavigationBar): void;
static applySemanticColorSchemeToBottomNavigation(colorScheme: MDCColorScheming, bottomNavigation: MDCBottomNavigationBar): void;
static new(): MDCBottomNavigationBarColorThemer; // inherited from NSObject
}
interface MDCBottomNavigationBarDelegate extends UINavigationBarDelegate {
bottomNavigationBarDidSelectItem?(bottomNavigationBar: MDCBottomNavigationBar, item: UITabBarItem): void;
bottomNavigationBarShouldSelectItem?(bottomNavigationBar: MDCBottomNavigationBar, item: UITabBarItem): boolean;
}
declare var MDCBottomNavigationBarDelegate: {
prototype: MDCBottomNavigationBarDelegate;
};
declare const enum MDCBottomNavigationBarTitleVisibility {
Selected = 0,
Always = 1,
Never = 2
}
declare class MDCBottomNavigationBarTypographyThemer extends NSObject {
static alloc(): MDCBottomNavigationBarTypographyThemer; // inherited from NSObject
static applyTypographySchemeToBottomNavigationBar(typographyScheme: MDCTypographyScheming, bottomNavigationBar: MDCBottomNavigationBar): void;
static new(): MDCBottomNavigationBarTypographyThemer; // inherited from NSObject
}
declare class MDCBottomSheetController extends UIViewController {
static alloc(): MDCBottomSheetController; // inherited from NSObject
static new(): MDCBottomSheetController; // inherited from NSObject
readonly contentViewController: UIViewController;
delegate: MDCBottomSheetControllerDelegate;
dismissOnBackgroundTap: boolean;
isScrimAccessibilityElement: boolean;
scrimAccessibilityHint: string;
scrimAccessibilityLabel: string;
scrimAccessibilityTraits: number;
scrimColor: UIColor;
shouldFlashScrollIndicatorsOnAppearance: boolean;
readonly state: MDCSheetState;
trackingScrollView: UIScrollView;
constructor(o: { contentViewController: UIViewController; });
initWithContentViewController(contentViewController: UIViewController): this;
setShapeGeneratorForState(shapeGenerator: MDCShapeGenerating, state: MDCSheetState): void;
shapeGeneratorForState(state: MDCSheetState): MDCShapeGenerating;
}
interface MDCBottomSheetControllerDelegate extends NSObjectProtocol {
bottomSheetControllerDidChangeYOffsetYOffset?(controller: MDCBottomSheetController, yOffset: number): void;
bottomSheetControllerDidDismissBottomSheet?(controller: MDCBottomSheetController): void;
bottomSheetControllerStateChangedState?(controller: MDCBottomSheetController, state: MDCSheetState): void;
}
declare var MDCBottomSheetControllerDelegate: {
prototype: MDCBottomSheetControllerDelegate;
};
declare class MDCBottomSheetControllerShapeThemer extends NSObject {
static alloc(): MDCBottomSheetControllerShapeThemer; // inherited from NSObject
static applyShapeSchemeToBottomSheetController(shapeScheme: MDCShapeScheming, bottomSheetController: MDCBottomSheetController): void;
static new(): MDCBottomSheetControllerShapeThemer; // inherited from NSObject
}
declare class MDCBottomSheetPresentationController extends UIPresentationController {
static alloc(): MDCBottomSheetPresentationController; // inherited from NSObject
static new(): MDCBottomSheetPresentationController; // inherited from NSObject
delegate: MDCBottomSheetPresentationControllerDelegate;
dismissOnBackgroundTap: boolean;
isScrimAccessibilityElement: boolean;
preferredSheetHeight: number;
scrimAccessibilityHint: string;
scrimAccessibilityLabel: string;
scrimAccessibilityTraits: number;
scrimColor: UIColor;
trackingScrollView: UIScrollView;
}
interface MDCBottomSheetPresentationControllerDelegate extends UIAdaptivePresentationControllerDelegate {
bottomSheetDidChangeYOffsetYOffset?(bottomSheet: MDCBottomSheetPresentationController, yOffset: number): void;
bottomSheetPresentationControllerDidDismissBottomSheet?(bottomSheet: MDCBottomSheetPresentationController): void;
bottomSheetWillChangeStateSheetState?(bottomSheet: MDCBottomSheetPresentationController, sheetState: MDCSheetState): void;
prepareForBottomSheetPresentation?(bottomSheet: MDCBottomSheetPresentationController): void;
}
declare var MDCBottomSheetPresentationControllerDelegate: {
prototype: MDCBottomSheetPresentationControllerDelegate;
};
declare class MDCBottomSheetTransitionController extends NSObject implements UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate {
static alloc(): MDCBottomSheetTransitionController; // inherited from NSObject
static new(): MDCBottomSheetTransitionController; // inherited from NSObject
dismissOnBackgroundTap: boolean;
isScrimAccessibilityElement: boolean;
preferredSheetHeight: number;
scrimAccessibilityHint: string;
scrimAccessibilityLabel: string;
scrimAccessibilityTraits: number;
scrimColor: UIColor;
trackingScrollView: UIScrollView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
animateTransition(transitionContext: UIViewControllerContextTransitioning): void;
animationControllerForDismissedController(dismissed: UIViewController): UIViewControllerAnimatedTransitioning;
animationControllerForPresentedControllerPresentingControllerSourceController(presented: UIViewController, presenting: UIViewController, source: UIViewController): UIViewControllerAnimatedTransitioning;
animationEnded(transitionCompleted: boolean): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
interactionControllerForDismissal(animator: UIViewControllerAnimatedTransitioning): UIViewControllerInteractiveTransitioning;
interactionControllerForPresentation(animator: UIViewControllerAnimatedTransitioning): UIViewControllerInteractiveTransitioning;
interruptibleAnimatorForTransition(transitionContext: UIViewControllerContextTransitioning): UIViewImplicitlyAnimating;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
presentationControllerForPresentedViewControllerPresentingViewControllerSourceViewController(presented: UIViewController, presenting: UIViewController, source: UIViewController): UIPresentationController;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
transitionDuration(transitionContext: UIViewControllerContextTransitioning): number;
}
declare class MDCButton extends UIButton {
static alloc(): MDCButton; // inherited from NSObject
static appearance(): MDCButton; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButton; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCButton; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButton; // inherited from UIAppearance
static buttonWithType(buttonType: UIButtonType): MDCButton; // inherited from UIButton
static new(): MDCButton; // inherited from NSObject
accessibilityTraitsIncludesButton: boolean;
customTitleColor: UIColor;
disabledAlpha: number;
enableRippleBehavior: boolean;
hitAreaInsets: UIEdgeInsets;
inkColor: UIColor;
inkMaxRippleRadius: number;
inkStyle: MDCInkStyle;
maximumSize: CGSize;
mdc_adjustsFontForContentSizeCategory: boolean;
mdc_legacyFontScaling: boolean;
minimumSize: CGSize;
shapeGenerator: MDCShapeGenerating;
shouldCapitalizeTitle: boolean;
shouldRaiseOnTouch: boolean;
underlyingColor: UIColor;
underlyingColorHint: UIColor;
uppercaseTitle: boolean;
applyContainedThemeWithScheme(scheme: MDCContainerScheming): void;
applyOutlinedThemeWithScheme(scheme: MDCContainerScheming): void;
applyTextThemeWithScheme(scheme: MDCContainerScheming): void;
backgroundColorForState(state: UIControlState): UIColor;
borderColorForState(state: UIControlState): UIColor;
borderWidthForState(state: UIControlState): number;
elevationForState(state: UIControlState): number;
imageTintColorForState(state: UIControlState): UIColor;
setBackgroundColor(backgroundColor: UIColor): void;
setBackgroundColorForState(backgroundColor: UIColor, state: UIControlState): void;
setBorderColorForState(borderColor: UIColor, state: UIControlState): void;
setBorderWidthForState(borderWidth: number, state: UIControlState): void;
setElevationForState(elevation: number, state: UIControlState): void;
setEnabledAnimated(enabled: boolean, animated: boolean): void;
setImageTintColorForState(imageTintColor: UIColor, state: UIControlState): void;
setShadowColorForState(shadowColor: UIColor, state: UIControlState): void;
setTitleFontForState(font: UIFont, state: UIControlState): void;
shadowColorForState(state: UIControlState): UIColor;
titleFontForState(state: UIControlState): UIFont;
}
declare class MDCButtonBar extends UIView {
static alloc(): MDCButtonBar; // inherited from NSObject
static appearance(): MDCButtonBar; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCButtonBar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCButtonBar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButtonBar; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCButtonBar; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButtonBar; // inherited from UIAppearance
static new(): MDCButtonBar; // inherited from NSObject
buttonTitleBaseline: number;
delegate: MDCButtonBarDelegate;
inkColor: UIColor;
items: NSArray<UIBarButtonItem>;
layoutPosition: MDCButtonBarLayoutPosition;
uppercasesButtonTitles: boolean;
buttonsTitleColorForState(state: UIControlState): UIColor;
buttonsTitleFontForState(state: UIControlState): UIFont;
setButtonsTitleColorForState(color: UIColor, state: UIControlState): void;
setButtonsTitleFontForState(font: UIFont, state: UIControlState): void;
}
declare class MDCButtonBarButton extends MDCFlatButton {
static alloc(): MDCButtonBarButton; // inherited from NSObject
static appearance(): MDCButtonBarButton; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCButtonBarButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCButtonBarButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButtonBarButton; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCButtonBarButton; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCButtonBarButton; // inherited from UIAppearance
static buttonWithType(buttonType: UIButtonType): MDCButtonBarButton; // inherited from UIButton
static new(): MDCButtonBarButton; // inherited from NSObject
}
declare class MDCButtonBarColorThemer extends NSObject {
static alloc(): MDCButtonBarColorThemer; // inherited from NSObject
static applyColorSchemeToButtonBar(colorScheme: MDCColorScheme, buttonBar: MDCButtonBar): void;
static applySemanticColorSchemeToButtonBar(colorScheme: MDCColorScheming, buttonBar: MDCButtonBar): void;
static new(): MDCButtonBarColorThemer; // inherited from NSObject
}
interface MDCButtonBarDelegate extends NSObjectProtocol {
buttonBarDidInvalidateIntrinsicContentSize?(buttonBar: MDCButtonBar): void;
buttonBarViewForItemLayoutHints?(buttonBar: MDCButtonBar, barButtonItem: UIBarButtonItem, layoutHints: MDCBarButtonItemLayoutHints): UIView;
}
declare var MDCButtonBarDelegate: {
prototype: MDCButtonBarDelegate;
};
declare const enum MDCButtonBarLayoutPosition {
None = 0,
Leading = 1,
Left = 1,
Trailing = 2,
Right = 2
}
declare class MDCButtonBarTypographyThemer extends NSObject {
static alloc(): MDCButtonBarTypographyThemer; // inherited from NSObject
static applyTypographySchemeToButtonBar(typographyScheme: MDCTypographyScheming, buttonBar: MDCButtonBar): void;
static new(): MDCButtonBarTypographyThemer; // inherited from NSObject
}
declare class MDCButtonColorThemer extends NSObject {
static alloc(): MDCButtonColorThemer; // inherited from NSObject
static applyColorSchemeToButton(colorScheme: MDCColorScheme, button: MDCButton): void;
static applySemanticColorSchemeToButton(colorScheme: MDCColorScheming, button: MDCButton): void;
static applySemanticColorSchemeToFlatButton(colorScheme: MDCColorScheming, flatButton: MDCButton): void;
static applySemanticColorSchemeToFloatingButton(colorScheme: MDCColorScheming, floatingButton: MDCFloatingButton): void;
static applySemanticColorSchemeToRaisedButton(colorScheme: MDCColorScheming, raisedButton: MDCButton): void;
static new(): MDCButtonColorThemer; // inherited from NSObject
}
declare class MDCButtonScheme extends NSObject implements MDCButtonScheming {
static alloc(): MDCButtonScheme; // inherited from NSObject
static new(): MDCButtonScheme; // inherited from NSObject
colorScheme: MDCColorScheming;
cornerRadius: number;
minimumHeight: number;
shapeScheme: MDCShapeScheming;
typographyScheme: MDCTypographyScheming;
}
interface MDCButtonScheming {
colorScheme: MDCColorScheming;
cornerRadius: number;
minimumHeight: number;
shapeScheme: MDCShapeScheming;
typographyScheme: MDCTypographyScheming;
}
declare var MDCButtonScheming: {
prototype: MDCButtonScheming;
};
declare class MDCButtonShapeThemer extends NSObject {
static alloc(): MDCButtonShapeThemer; // inherited from NSObject
static applyShapeSchemeToButton(shapeScheme: MDCShapeScheming, button: MDCButton): void;
static new(): MDCButtonShapeThemer; // inherited from NSObject
}
declare class MDCButtonTitleColorAccessibilityMutator extends NSObject {
static alloc(): MDCButtonTitleColorAccessibilityMutator; // inherited from NSObject
static changeTitleColorOfButton(button: MDCButton): void;
static new(): MDCButtonTitleColorAccessibilityMutator; // inherited from NSObject
}
declare class MDCButtonTypographyThemer extends NSObject {
static alloc(): MDCButtonTypographyThemer; // inherited from NSObject
static applyTypographySchemeToButton(typographyScheme: MDCTypographyScheming, button: MDCButton): void;
static new(): MDCButtonTypographyThemer; // inherited from NSObject
}
declare class MDCCard extends UIControl {
static alloc(): MDCCard; // inherited from NSObject
static appearance(): MDCCard; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): MDCCard; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MDCCard; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCCard; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MDCCard; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MDCCard; // inherited from UIAppearance
static new(): MDCCard; // inherited from NSObject
cornerRadius: number;
enableRippleBehavior: boolean;
readonly inkView: MDCInkView;
interactable: boolean;
readonly rippleView: MDCStatefulRippleView;
shapeGenerator: MDCShapeGenerating;
applyOutlinedThemeWithScheme(scheme: MDCContainerScheming): void;
applyThemeWithScheme(scheme: MDCContainerScheming): void;
borderColorForState(state: UIControlState): UIColor;
borderWidthForState(state: UIControlState): number;
setBorderColorForState(borderColor: UIColor, state: UIControlState): void;
setBorderWidthForState(borderWidth: number, state: UIControlState): void;
setShadowColorForState(shadowColor: UIColor, state: UIControlState): void;
setShadowElevationForState(shadowElevation: number, state: UIControlState): void;
shadowColorForState(state: UIControlState): UIColor;
shadowElevationForState(state: UIControlState): number;
}
declare const enum MDCCardCellHori