import * as React from "react";
import type { DeviceType } from "@khanacademy/perseus";
type Props = {
    /** The current device type that is selected. */
    deviceType: DeviceType;
    /**
     * A callback that is passed (width, height) as the dimensions of the
     * viewport to resize to.
     */
    onViewportSizeChanged: (deviceType: DeviceType) => unknown;
};
declare const ViewportResizer: (props: Props) => React.JSX.Element;
export default ViewportResizer;
