import { ScalerContext as NativeScaleContext } from '../core/scaler-context'; import type { Rect } from '../types'; import type { NativeImage as NativeImageType } from '../interfaces'; export declare class ScalerContext extends NativeScaleContext { generateImage(text: string, bounds: Rect): NativeImageType; protected loadCanvas(): void; }