/**
 * @typedef {Object} BaseBlock
 * @property {string} id
 * @property {string} type
 */

/**
 * @typedef {BaseBlock & {
 *   type: 'paragraph',
 *   text: string
 * }} ParagraphBlock
 */

/**
 * @typedef {BaseBlock & {
 *   type: 'heading',
 *   level: 1|2|3,
 *   text: string
 * }} HeadingBlock
 */

/**
 * @typedef {BaseBlock & {
 *   type: 'todo',
 *   text: string,
 *   checked: boolean
 * }} TodoBlock
 */

/**
 * @typedef {ParagraphBlock | HeadingBlock | TodoBlock} Block
 */

export {};
