/** * branch between showing something and providing a spec, * or not showing it */ export declare type Visible = { show: true; } & T; export declare type Invisible = { show: false; } & Partial; export declare type Shown = Visible | Invisible;