import CodeBlockWriter from 'code-block-writer'; import Base from './base'; export default class extends Base { private functionDeclaration; constructor(name: string); setReturnType(type: string): this; addParam(name: string, type?: string): this; setBodyText(text: string): this; setBodyComplex(fn: (writer: CodeBlockWriter) => void): this; }