import { PixelMap } from 'binary-pixel-map'; export declare class SH1106 { readonly width: number; readonly height: number; readonly canvas: PixelMap; constructor(width?: number, height?: number); /** * Turn the display on. */ show(): void; /** * Turn the display off. */ hide(): void; /** * Set the contrast. * @param level */ contrast(level: number): void; /** * Close the device. */ close(): void; /** * Write the current canvas to the display. */ refresh(): void; private initialize; }