BlockTree: Block | readonly Block[] | DocumentBlocks

Anything the readers accept: one block, a list of blocks, or a whole document read as blocks.

const input: BlockTree = await lk.documents.getBlocks({ resourceId, documentId })