/** @noSelfInFile */ /** * These functions require that a screen or other viewport is created and active. */ declare namespace gfx { /** * Fill the entire active viewport with the current background color. */ export function cls(): void; /** * Get/set the current foreground color of the active viewport. */ export function fgcolor(color?: number): number; /** * Get/set the current background color of the active viewport. */ export function bgcolor(color?: number): number; /** * Draw a line with the current foreground color. */ export function line(x1: number, y1: number, x2: number, y2: number): void; }