import { TComponentIcon } from "@helpers/types"; import { PropsWithChildren, MouseEvent } from "react"; type TControlsItem = { icon: TComponentIcon; onClick(event: MouseEvent): void; }; export interface IControlsButtonProps { icon: TComponentIcon; onClick(event: MouseEvent): void; } export interface IControlsButtonGroupProps { items?: TControlsItem[]; type: "options" | "controls"; controlsPosition?: "inline" | "onScreen" | "bottom"; optionsPosition?: "absolute" | "inline"; } export interface IVideoPlayerProps extends PropsWithChildren { currentTime?: string; leftTime?: string; options?: TControlsItem[]; controls?: TControlsItem[]; controlsPosition?: "inline" | "onScreen" | "bottom"; optionsPosition?: "absolute" | "inline"; timePosition?: "inline" | "bottom"; } export {};