import { Action } from './Action'; import { Element } from './Element'; import { StateToSvgChanger } from './SVG/StateToSvg'; export interface State { elements: Element[]; } export declare type StateChanger = (action: Action) => Element; export declare type SetState = (newState: State) => State; export declare const initialState: (stateToSvgChanger?: StateToSvgChanger | undefined) => StateChanger;