/** * Returns all the extensions known to be associated with the media type `type`, or * `undefined` if no extensions are found. * * Extensions are returned without a leading `.`. * * @param type The media type to get the extensions for. * * @returns The extensions for the given media type, or `undefined` if no * extensions are found. * * @example Usage * ```ts * import { allExtensions } from "../media-types/all_extensions.ts"; * import { assertEquals } from "../assert/mod.ts"; * * assertEquals(allExtensions("application/json"), ["json", "map"]); * assertEquals(allExtensions("text/html; charset=UTF-8"), ["html", "htm", "shtml"]); * assertEquals(allExtensions("application/foo"), undefined); * ``` */ export declare function allExtensions(type: string): string[] | undefined;