import * as React from "react"; import { IOWidget, Pair } from "../shared/widget"; export interface BothProps { input: i; widget1: IOWidget; widget2: IOWidget; on_done_both: (outputs: Pair) => void; } export interface BothState { value1: o1 | null; value2: o2 | null; } export declare class Both extends React.Component, BothState> { constructor(props: BothProps, context: any); render(): JSX.Element; } export declare let both: (widget1: IOWidget, widget2: IOWidget) => IOWidget>;