/**
 * 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<F, N = undefined>(finValue: (() => F) | F, noFinValue?: (() => N) | N): F | N | undefined;
