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