import React from "react"; import { ViewProps } from "react-native"; export type ToggleButtonProps = { /** * Index of the selected button. */ activeIndex: number; }; export type ToggleButtonContextType = { /** * Boolean value indicating whether or not the contexed button is selected or not. */ isSelected: boolean; } | undefined; export declare const ToggleButtonContext: React.Context; export declare const ToggleButton: { ({ activeIndex, children }: ToggleButtonProps & ViewProps): React.JSX.Element; displayName: string; };