export declare function when(x: X, actuate: (x: NonNullable) => any): any;