import {
    type TextStyle,
    type StyleProp
} from "react-native";
import type {
    NCoreUIKitIcon
} from "../../types";
import type IButtonProps from "../button/type";

export type LocaleSwitchVariant = {
    backgroundColor: keyof NCoreUIKit.ContainerContentColors | "transparent";
    borderColor: keyof NCoreUIKit.BorderContentColors | "transparent";
    iconColor: keyof NCoreUIKit.ProjectColorPalette;
    localeKey: keyof NCoreUIKit.LocaleKey;
    icon: NCoreUIKitIcon;
};

export type LocaleSwitchVariants = Array<LocaleSwitchVariant>;

interface ILocaleSwitcherProps extends Omit<IButtonProps, "onPress"> {
    color?: keyof NCoreUIKit.ContainerContentColors | "transparent";
    style?: StyleProp<TextStyle>[] | StyleProp<TextStyle>;
    customLocalize?: {
        activeLocale?: keyof NCoreUIKit.LocaleKey;
    };
    isWorkWithNextShowSystem?: boolean;
    variants?: LocaleSwitchVariants;
}
export type {
    ILocaleSwitcherProps as default
};
