import { Context } from 'koishi'; import { MemeShortcut } from 'meme-generator-rs-api'; import { Config } from '../config'; declare module '../index' { interface MemeInternal { refreshShortcuts?: () => Promise; } } export interface ShortcutInfo extends Partial { name: string; pattern: string; } export interface KeywordInfo { name: string; keyword: string; } export declare function apply(ctx: Context, config: Config): Promise;