import { ComponentType } from 'preact';
import GraphModel from '../../model/GraphModel';
type IProps = {
graphModel: GraphModel;
};
export type GraphTransform = {
transform: string;
transformOrigin: string;
};
export declare function getTransform
(WrappedComponent: ComponentType
): {
new (props?: (IProps & P) | undefined, context?: any): {
getMatrixString(): GraphTransform;
render(): import("preact").JSX.Element;
componentWillMount?(): void;
componentDidMount?(): void;
componentWillUnmount?(): void;
getChildContext?(): object;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void;
getSnapshotBeforeUpdate?(oldProps: Readonly, oldState: Readonly<{}>): any;
componentDidUpdate?(previousProps: Readonly, previousState: Readonly<{}>, snapshot: any): void;
componentDidCatch?(error: any, errorInfo: import("preact").ErrorInfo): void;
state: Readonly<{}>;
props: import("preact").RenderableProps;
context: any;
base?: Element | Text | undefined;
setState(state: Partial<{}> | ((prevState: Readonly<{}>, props: Readonly) => Partial<{}> | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
};
displayName?: string | undefined;
defaultProps?: any;
contextType?: import("preact").Context | undefined;
getDerivedStateFromProps?(props: object, state: object): object | null;
getDerivedStateFromError?(error: any): object | null;
};
export {};