import { State } from '../customTypings/index.d'; export declare const defaultState: Partial; export declare function reducer(state: State, action: any): any; /** * Calculate port position with the methods provided by port parent node * calcul is done only if node moved or list of attached port have its size changed * also update position if registered nodetype change * because the node hold the function used to calculate position of their attached port * Beware could be slow if the calculus methode provided is slow * @params {object} state react-flow-designer state * @params {object} action * * @return {object} new state */ export declare function calculatePortsPosition(state: State, action: any): any; declare function flowDesignerReducer(state: State, action: any): any; export default flowDesignerReducer;