import { Context, Schema, Session } from 'koishi';
declare module 'koishi' {
    interface Events {
        'hangman/start'(this: Session, state: Stage, output: string[]): void;
        'hangman/stop'(this: Session, state: Stage, output: string[]): void;
        'hangman/win'(this: Session, state: Stage, output: string[]): void;
        'hangman/lose'(this: Session, state: Stage, output: string[]): void;
        'hangman/right'(this: Session, state: Stage, output: string[]): void;
        'hangman/wrong'(this: Session, state: Stage, output: string[]): void;
    }
}
export declare const name = "hangman";
export interface Config {
    chances?: number;
    wordList?: string;
    submission: 'strict' | 'loose' | 'mention';
}
export declare const Config: Schema<Config>;
interface Word {
    text: string;
}
interface Stage extends Word {
    history: string;
    chances: number;
    current: string;
}
declare function Word(word: string | Word): Word;
export declare function apply(ctx: Context, config: Config): void;
export {};
