///
import type { StyleProp, ViewStyle, ColorValue } from 'react-native';
import type { SpinnerType } from '..';
export declare type waveModeType = 'fill' | 'outline' | undefined;
export declare type SpinnerOptionsProp = {
waveFactor?: number;
waveMode?: waveModeType;
};
export declare type GradientType = 'Linear' | 'Radial';
export declare type GradientNames = 'Warm Flame' | 'Night Fade' | 'Spring Warmth' | 'Juicy Peach' | 'Young Passion' | 'Lady Lips' | 'Sunny Morning' | 'Rainy Ashville' | 'Frozen Dreams' | 'Winter Neva' | 'Dusty Grass' | 'Tempting Azure' | 'Heavy Rain' | 'Amy Crisp' | 'Mean Fruit' | 'Deep Blue' | 'Ripe Malinka' | 'Cloudy Knoxville' | 'Malibu Beach' | 'New Life' | 'True Sunset' | 'Morpheus Den' | 'Rare Wind' | 'Near Moon' | 'Wild Apple' | 'Saint Petersburg' | 'Plum Plate' | 'Everlasting Sky' | 'Happy Fisher' | 'Blessing' | 'Sharpeye Eagle' | 'Ladoga Bottom' | 'Lemon Gate' | 'Itmeo Branding' | 'Zeus Miracle' | 'Old Hat' | 'Star Wine' | 'Happy Acid' | 'Awesome Pine' | 'New York' | 'Shy Rainbow' | 'Mixed Hopes' | 'Fly High' | 'Strong Bliss' | 'Fresh Milk' | 'Snow Again' | 'February Ink' | 'Kind Steel' | 'Soft Grass' | 'Grown Early' | 'Sharp Blues' | 'Shady Water' | 'Dirty Beauty' | 'Great Whale' | 'Teen Notebook' | 'Polite Rumors' | 'Sweet Period' | 'Wide Matrix' | 'Soft Cherish' | 'Red Salvation' | 'Burning Spring' | 'Night Party' | 'Sky Glider' | 'Heaven Peach' | 'Purple Division' | 'Aqua Splash' | 'Spiky Naga' | 'Love Kiss' | 'Clean Mirror' | 'Premium Dark' | 'Cold Evening' | 'Cochiti Lake' | 'Summer Games' | 'Passionate Bed' | 'Mountain Rock' | 'Desert Hump' | 'Jungle Day' | 'Phoenix Start' | 'October Silence' | 'Faraway River' | 'Alchemist Lab' | 'Over Sun' | 'Premium White' | 'Mars Party' | 'Eternal Constance' | 'Japan Blush' | 'Smiling Rain' | 'Cloudy Apple' | 'Big Mango' | 'Healthy Water' | 'Amour Amour' | 'Risky Concrete' | 'Strong Stick' | 'Vicious Stance' | 'Palo Alto' | 'Happy Memories' | 'Midnight Bloom' | 'Crystalline' | 'Party Bliss' | 'Confident Cloud' | 'Le Cocktail' | 'River City' | 'Frozen Berry' | 'Child Care' | 'Flying Lemon' | 'New Retrowave' | 'Hidden Jaguar' | 'Above The Sky' | 'Nega' | 'Dense Water' | 'Seashore' | 'Marble Wall' | 'Cheerful Caramel' | 'Night Sky' | 'Magic Lake' | 'Young Grass' | 'Colorful Peach' | 'Gentle Care' | 'Plum Bath' | 'Happy Unicorn' | 'African Field' | 'Solid Stone' | 'Orange Juice' | 'Glass Water' | 'North Miracle' | 'Fruit Blend' | 'Millennium Pine' | 'High Flight' | 'Mole Hall' | 'Space Shift' | 'Forest Inei' | 'Royal Garden' | 'Rich Metal' | 'Juicy Cake' | 'Smart Indigo' | 'Sand Strike' | 'Norse Beauty' | 'Aqua Guidance' | 'Sun Veggie' | 'Sea Lord' | 'Black Sea' | 'Grass Shampoo' | 'Landing Aircraft' | 'Witch Dance' | 'Sleepless Night' | 'Angel Care' | 'Crystal River' | 'Soft Lipstick' | 'Salt Mountain' | 'Perfect White' | 'Fresh Oasis' | 'Strict November' | 'Morning Salad' | 'Deep Relief' | 'Sea Strike' | 'Night Call' | 'Supreme Sky' | 'Light Blue' | 'Mind Crawl' | 'Lily Meadow' | 'Sugar Lollipop' | 'Sweet Dessert' | 'Magic Ray' | 'Teen Party' | 'Frozen Heat' | 'Gagarin View' | 'Fabled Sunset' | 'Perfect Blue';
export interface CommonOptionalProps {
animationType?: string;
buttonContainer?: StyleProp;
buttonStyle?: StyleProp;
borderStyle?: StyleProp;
spinnerColor?: ColorValue;
spinnerType?: SpinnerType;
indicatorCount?: number;
size?: number;
spinnerOptions?: SpinnerOptionsProp;
gradientColors?: ColorValue[];
gradientColoroffset?: string[];
gradientColorAngle?: number;
animatedDuration?: number;
customSpinnerComponent?: JSX.Element;
animateWidth?: number;
animateHeight?: number;
animateRadius?: number;
disabled?: boolean;
isLoading?: boolean;
isConnected?: boolean;
disableStyle?: StyleProp;
disableGradientColors?: ColorValue[];
gradientName?: GradientNames;
radialRadiusx?: string | number;
radialRadiusy?: string | number;
radialRadiusRX?: string | number;
radialRadiusRY?: string | number;
rippleColor?: string;
gradientRadialRadius?: number;
gradientButtonHeight?: number;
}
export interface SpinnerButtonBaseProps extends CommonOptionalProps {
onPress: () => void;
children: JSX.Element;
}
export interface LinearGradientBaseProps extends CommonOptionalProps {
gradientType: 'Linear';
gradientRadialRadius: number;
gradientButtonHeight: number;
}
export interface RadialGradientBaseProps extends CommonOptionalProps {
gradientType: 'Radial';
radialRadiusx: string | number;
radialRadiusy: string | number;
radialRadiusRX: string | number;
radialRadiusRY: string | number;
gradientRadialRadius: number;
gradientButtonHeight: number;
}
export interface BasicSpinnerButtonBaseProps extends CommonOptionalProps {
gradientType?: never;
}
declare type BasicSpinnerButtonProps = SpinnerButtonBaseProps & BasicSpinnerButtonBaseProps;
declare type LinearGradientProps = SpinnerButtonBaseProps & LinearGradientBaseProps;
declare type RadialGradientProps = SpinnerButtonBaseProps & RadialGradientBaseProps;
export declare type SpinnerButtonProps = BasicSpinnerButtonProps | LinearGradientProps | RadialGradientProps;
export {};