export interface SwitchedType { switched: boolean | null; } export interface ColorType { activeColor: string; nonActiveColor: string; } export interface BallType { ball: "big" | "small"; } export declare type SwitchType = ColorType & { click: (e: boolean) => void; initialState: boolean; ball?: "big" | "small"; reValidate?: boolean; };