import React from "react"; import { type PressableProps } from "react-native"; export interface ButtonProps extends Omit { variant?: "default" | "ghost" | "outline" | "destructive"; size?: "sm" | "default" | "lg"; className?: string; textClassName?: string; children?: React.ReactNode; isLoading?: boolean; disabled?: boolean; /** Override the loading spinner colour (otherwise derived from the variant). */ spinnerColor?: string; /** * Stable, author-assigned id reported when this control is activated, e.g. * `"login.submit"`. Omit it and nothing is tracked. * * Deliberately not derived from the button's label: copy changes over time, * differs per locale, and can interpolate user data — all of which would * either break a dashboard or leak into one. */ telemetryId?: string; } export declare function Button({ variant, size, className, textClassName, children, isLoading, disabled, spinnerColor, telemetryId, onPress, onPressIn, onPressOut, ...props }: ButtonProps): React.JSX.Element; export declare function IconButton({ size, children, className, telemetryId, onPress, ...props }: ButtonProps): React.JSX.Element; //# sourceMappingURL=button.d.ts.map