import { SeededRandom } from '../../core/seededRandom.js'; import { AvatarContext } from '../../core/types.js'; import { SmileOptions } from './types.js'; /** * Smile renderer - generates a cheerful smiley face */ export declare class SmileRenderer { private random; private options; private faceColor0; private faceColor1; private backgroundColor; private featureColor; constructor(random: SeededRandom, options: SmileOptions); /** * Render avatar on canvas */ render(ctx: AvatarContext): void; /** * Check if a color is dark based on its luminance */ private isDarkColor; /** * Draw a cheerful smiley face */ private drawSmiley; /** * Draw an oval eye */ private drawEye; /** * Draw a curved smile mouth (:) or open mouth (:D) * Assumes context is translated to center (0, 0) */ private drawMouth; } //# sourceMappingURL=generator.d.ts.map