export default class HomepagePreview {
    width: number;
    height: number;
    logo: any;
    avatar: any;
    didUpdateAttrs(...args: any[]): void;
    images(): {
        logo: any;
        avatar: string;
    };
    paint({ ctx, colors, font, width, height }: {
        ctx: any;
        colors: any;
        font: any;
        width: any;
        height: any;
    }): void;
    renderCategoriesBoxes(ctx: any, colors: any, font: any, width: any, height: any, opts: any): void;
    renderCategories(ctx: any, colors: any, font: any, width: any, height: any): void;
    renderCategoriesWithTopics(ctx: any, colors: any, font: any, width: any, height: any): void;
    getHomepageStyle(): any;
    getTitles(): any[];
    getHotTitles(): any[];
    getDescriptions(): any[];
    renderNonCategoryHomepage(ctx: any, colors: any, font: any, width: any, height: any, homepageStyle: any): void;
    fillTextMultiLine(ctx: any, text: any, x: any, y: any, lineHeight: any, maxWidth: any): number;
    drawSquare(ctx: any, from: any, to: any, edges?: any[]): void;
}
//# sourceMappingURL=-homepage-preview.d.ts.map