import { EditableBeat } from '../beatHelpers'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; /** * The whole `chartData`, as text. * * The textarea's own text is the source of truth while it is being typed: invalid JSON leaves * the beat alone and is reported, so the preview keeps the last valid chart rather than * blanking on every keystroke. * * The draft is dropped when the beat under it is no longer the one it was typed into. Object * identity cannot detect that — Vue hands props a reactive proxy, so the very object this * component emitted returns as a different reference — which is why `draftOwnsBeat` compares * content instead. */ type __VLS_Props = { beat: EditableBeat; }; declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { update: (beat: EditableBeat) => any; }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{ onUpdate?: ((beat: EditableBeat) => any) | undefined; }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;