/*! * wordcloud2.js * http://timdream.org/wordcloud2.js/ * * Copyright 2011 - 2019 Tim Guan-tin Chien and contributors. * Released under the MIT license */ import type { IBaseLayoutOptions } from './interface'; import { BaseLayout } from './base'; interface IGridLayoutOptions extends IBaseLayoutOptions { gridSize?: number; ellipticity?: number; } export declare class GridLayout extends BaseLayout { static defaultOptions: Partial; private gridSize; private center; private pointsAtRadius; private ngx; private ngy; private grid; private maxRadius; constructor(options: IGridLayoutOptions); private getPointsAtRadius; private getTextInfo; private calculateEmptyRate; private fillGridAt; private updateGrid; private canFitText; layoutWord(index: number, shrinkRatio?: number): boolean; private outputText; private initGrid; canRepeat(): boolean; layout(data: any[], config: { width: number; height: number; origin?: [number, number]; }): import("./interface").TagOutputItem[]; } export {};