import { Button, Color, ImageAsset, ImageSource, Property } from '@nativescript/core'; import { VerticalTextAlignment } from '@nativescript-community/text'; export declare abstract class ButtonBase extends Button { variant: string; /** * Gets or sets the elevation of the button. */ elevation: number; /** * Gets or sets the dynamic elevation offset of the button. */ dynamicElevationOffset: number; /** * Gets or sets the ripple-color of the button. */ rippleColor: Color; /** * Gets or sets the ripple-color alpha of the button. */ rippleColorAlpha: number; /** * Gets or sets the {@link VerticalTextAlignment|vertical text alignment} of the button. */ verticalTextAlignment: VerticalTextAlignment; /** * Gets or sets the shape of the button. */ shape: string; /** * Gets or sets the icon imageSource of the button. */ imageSource: ImageSource; /** * Gets or sets the icon src of the button. */ src: string | ImageSource; isLoading: boolean; /** * @internal //copied from image common */ protected _createImageSourceFromSrc(value: string | ImageSource | ImageAsset, asIcon?: boolean): Promise; setImageSource(value: any, asIcon?: boolean): void; } export declare const imageSourceProperty: Property; export declare const srcProperty: Property;