import { ComputedWordData, WordCloudConfig } from '../../types';

export type UseWordCloudArgs = WordCloudConfig & {
    onStartComputation?: () => void;
    onWordComputed?: (word: ComputedWordData, index: number) => void;
    onCompleteComputation?: (words: ComputedWordData[]) => void;
};
export declare const useWordCloud: ({ font, fontStyle, fontWeight, fontSize, rotate, spiral, padding, width, height, timeInterval, words, onStartComputation, onWordComputed, onCompleteComputation, }: UseWordCloudArgs) => {
    computedWords: ComputedWordData[];
    isLoading: boolean;
};
//# sourceMappingURL=index.d.ts.map