/** * OpenFin/Non-OpenFin context expression switch. * @param finValue Expression invoked/returned when running in the fin environment. * @param noFinValue Expression invoked/returned when not running in the fin environment. */ export declare function whenFin(finValue: (() => F) | F, noFinValue?: (() => N) | N): F | N | undefined;