import React from 'react'; import './ViewportLayout.less'; import ViewportMgr, { ViewportType } from './ViewportMgr'; export declare const GetViewportContext: React.Context<() => ViewportType>; export interface ViewportLayoutProps extends React.HTMLAttributes { viewport?: ViewportMgr; maxZoom?: number; minZoom?: number; beforePointerDown?: (e: MouseEvent) => boolean; } declare const ViewportLayout: { (props: ViewportLayoutProps): JSX.Element; useViewport: typeof ViewportMgr.useViewport; GetViewportContext: React.Context<() => ViewportType>; }; export default ViewportLayout;