import type Hexo from './index'; import type { NodeJSLikeCallback } from '../types'; import type Promise from 'bluebird'; declare class Scaffold { context: Hexo; scaffoldDir: string; defaults: { normal: string; }; constructor(context: Hexo); _listDir(): Promise<{ name: string; path: string; }[]>; _getScaffold(name: string): Promise<{ name: string; path: string; }>; get(name: string, callback?: NodeJSLikeCallback): Promise; set(name: string, content: any, callback?: NodeJSLikeCallback): Promise; remove(name: string, callback?: NodeJSLikeCallback): Promise; } export = Scaffold;