import { Session } from 'koishi';
import { ThesaurusPluginConfig } from './config';
import { LifecycleEvents } from 'koishi-thirdeye';
import { Next } from 'koa';
export * from './config';
declare const ThesaurusPlugin_base: new (ctx: import("koishi").Context, config: {
    path?: string;
    chatTimeout?: number;
    trackingLength?: number;
}) => {
    ctx: import("koishi").Context;
    config: ThesaurusPluginConfig;
};
export default class ThesaurusPlugin extends ThesaurusPlugin_base implements LifecycleEvents {
    private aragami;
    private wordData;
    private loadWords;
    private getFromCache;
    private setToCache;
    private clearCacheOf;
    private replyWith;
    private tryPatterns;
    private replyChat;
    private formatName;
    replyMessage(session: Session, next: Next): Promise<any>;
    startChat(optionName: string, databaseName: string, session: Session): Promise<string>;
    onConnect(): Promise<void>;
}
