import { EditableBeat } from '../beatHelpers'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; /** * One beat, rendered as a div. * * The unit matters: the previous version computed every beat's fragment in one place and * drove every chart from one container, so typing into one beat destroyed and rebuilt the * charts of all the others — visible as a flicker. Here a beat owns its own fragment and its * own Chart.js instances, so Vue re-renders the one whose props changed and nothing else. * * Shared runtimes (the chart.js and mermaid script tags) stay global; only the drawing is * per beat. */ type __VLS_Props = { beat: EditableBeat; /** Must be unique per beat on the page and match [A-Za-z_][A-Za-z0-9_-]* — see beatToHtml. */ idPrefix: string; }; declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;