/** @packageDocumentation
 * @module ContentView
 */
import "./FloatingViewportContent.css";
import * as React from "react";
import { ScreenViewport } from "@itwin/core-frontend";
import { ViewStateProp } from "@itwin/imodel-components-react";
/**
 * @beta
 */
export interface FloatingViewportContentProps {
    /** callback used to construct context menu when user right-clicks on canvas/viewport */
    onContextMenu?: (e: React.MouseEvent) => boolean;
    /** viewport/content control uniqueId */
    contentId: string;
    /** The initial view state used to create the viewport, or a function that returns it (will refresh when the function changes) */
    initialViewState: ViewStateProp;
    /** Function to get a reference to the ScreenViewport */
    viewportRef?: React.Ref<ScreenViewport>;
}
/**
 * FloatingViewportContent component that creates its own [FloatingViewportContentControl].
 * This allows it to be recognized as an "active" content control so that tools operate on this
 * content.
 * @beta
 */
export declare function FloatingViewportContent(props: FloatingViewportContentProps): JSX.Element;
//# sourceMappingURL=FloatingViewportContent.d.ts.map