/*! * content-disposition * Copyright(c) 2014-2017 Douglas Christopher Wilson * Copyright(c) 2021 Nathan Bierema * MIT Licensed */ interface Options { readonly type?: string; readonly fallback?: string | boolean; } /** * Create an attachment Content-Disposition header. * * @param {string} [filename] * @param {object} [options] * @param {string} [options.type=attachment] * @param {string|boolean} [options.fallback=true] * @return {string} * @public */ export declare function create(filename?: string, options?: Options): string; interface Parameters { [key: string]: string; } interface ContentDisposition { readonly parameters: Parameters; readonly type: string; } /** * Parse Content-Disposition header string. * * @param {string} string * @return {object} * @public */ export declare function parse(string: string): ContentDisposition; export {};