/*~ These are the type declarations for Espruino on the Bangle.JS. *~ Reference: https://banglejs.com/reference */ /// /// /// /// /// /// /// /// declare const Graphics: GraphicsApi; declare const g: GraphicsApi; type WidgetArea = "tl" | "tr" | "bl" | "br"; type Widget = { area: WidgetArea; width: number; draw: (this: { x: number; y: number }) => void; }; declare const WIDGETS: { [key: string]: Widget }; declare let exports: any;