// Type definitions for koa-send v3.3 // Project: https://github.com/koajs/send // Definitions by: Peter Safranek // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 import * as Koa from 'koa'; interface ISendOptions { root?: string; index?: string; maxAge?: number; hidden?: boolean; format?: boolean; gzip?: boolean; setHeaders?: Function; extensions?: string[]; } declare function send(ctx: Koa.Context, path: string, opts?: ISendOptions): Promise; declare namespace send {} export = send;