import type { StateModel } from "pele/lazy"; import { State } from "../interfaces.js"; export interface PeleStateOptions { fontSize: number; /** * Whether Pele steps the transitions by its config (see * `isSteppedDefinition`), asked only when their drawing doesn't tell: * straight ones are drawn as elbow arrows too if so. */ stepped?: () => boolean; } /** * Reads a state diagram from the SVG Pele rendered it to: states, composite * states, notes, and the transitions between them (whose ends are found from * where they're drawn, as Pele's model doesn't list the transitions of * composite states). */ export declare const parsePeleState: (_model: StateModel, root: Element, options: PeleStateOptions) => State;