// @flow import type { Color } from "config/colors"; declare type Map = { [K]: V }; declare type Classes = { classes: Map }; declare type State = Map; declare type Point = [number, number]; declare type Layer = { image: string, name: string, baseLayer?: boolean, defaultVisibility: "visible" | "hidden", opacity?: number, bounds: { topLeft: Point, bottomRight: Point } };