import { Option } from './option'; /** * Apply a function to the contained value (if any) * @param option Option to match against * @param fn Function to call when `option` contains a value * @returns An `Option` of `fn`'s return value */ export declare const map: (option: Option, fn: (value: Value) => Return) => Option; export default map;