import { KeyboardEvent as ReactKeyboardEvent, MouseEvent as ReactMouseEvent, ChangeEvent, Dispatch, SetStateAction } from 'react'; export interface IEnvironment { environment: string; action?: 'publish' | 'unpublish' | 'scheduled'; scheduled_at?: string; time?: string; user?: string; locale: string; } export interface IVersion { _version: number; _version_name?: { title: string; updated_at?: string; updated_by?: string; }; locale: string; } export declare const getEnvColor: (uid: string, environmentsList: { uid: string; name: string; color: string; }[]) => string; export declare const getEnvName: (uid: string, environmentsList: { uid: string; name: string; color: string; }[]) => string; export declare const getPillText: (env: IEnvironment) => string | null; export declare const getVersionDisplayName: (version: IVersion) => string; export declare const handleVersionNameChange: (e: ChangeEvent, setVersionName: Dispatch>) => string; export declare const handleVersionNameKeyDown: (e: ReactKeyboardEvent, handleSave: () => void, setIsEditing: Dispatch>, currentVersionName: string, setVersionName: Dispatch>) => void; export declare const handleVersionClickKeyDown: (e: ReactKeyboardEvent, versionOnClick: Function | undefined, handleVersionClick: (e: ReactMouseEvent) => void) => void; export declare const handleEditModeKeyDown: (e: ReactKeyboardEvent, enableEditMode: () => void) => void; export declare const handleCompareClick: (e: MouseEvent, compareVersion: Function | undefined, version: IVersion, defaultSelected: IVersion | undefined) => void; export declare const handleCompareKeyDown: (e: ReactKeyboardEvent, handleCompareClickFn: (e: ReactMouseEvent) => void) => void; export declare const getLocaleName: (uid: any, locales: any) => any; export declare const BUTTON_ATTRIBUTES: { readonly tabIndex: 0; readonly role: "button"; }; export type InputChangeEvent = React.ChangeEvent; export type SetStateString = React.Dispatch>; export type KeyboardEvent = ReactKeyboardEvent; export type MouseEvent = ReactMouseEvent; export declare const sortEnvironmentsByTime: (environments: IEnvironment[]) => IEnvironment[];