/** @packageDocumentation
 * @module ContentView
 */
import * as React from "react";
import type { ScreenViewport } from "@itwin/core-frontend";
import type { 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>;
}
/** @beta */
export declare function FloatingViewportContent(props: FloatingViewportContentProps): JSX.Element;
/** @alpha */
export interface FloatingViewportContentWrapperProps {
    readonly children?: React.ReactNode;
}
/** @alpha */
export declare function FloatingViewportContentWrapper({ children, }: FloatingViewportContentWrapperProps): JSX.Element;
/** @alpha */
export declare function useFloatingViewport(args: FloatingViewportContentProps): {
    viewportControl: JSX.Element;
};
//# sourceMappingURL=FloatingViewportContent.d.ts.map