import { Function } from './Function'; import { List } from '../List/List'; /** * Extract the return type of a [[Function]] * @param F to extract from * @returns [[Any]] * @example * ```ts * import {F} from 'ts-toolbelt' * * const fn = () => true * * type test0 = F.ReturnOf // boolean * * type test1 = F.ReturnOf<() => true> // true * ``` */ export declare type Return = F extends ((...args: List) => infer R) ? R : never;