// Type definitions for content-disposition 0.5 // Project: https://github.com/jshttp/content-disposition // Definitions by: Stefan Reichel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace contentDisposition { interface ContentDisposition { type: string; parameters: any; } interface Options { type?: string; fallback?: string | boolean; } function parse(contentDispositionHeader: string): ContentDisposition; } declare function contentDisposition(filename?: string, options?: contentDisposition.Options): string; export = contentDisposition;