import schema from '@stencila/schema'; /** * Ensure that all nodes in an array are `BlockContent`. * * If _all_ the nodes in the array are `InlineContent` then will consolidate * them into a `Paragraph`. Otherwise, each element is coerced into an `Paragraph` * if necessary. */ export declare const ensureBlockContentArray: (nodes: schema.Node | schema.Node[]) => schema.BlockContent[]; /** * Ensure that all nodes in an array are `BlockContent` or if no nodes * return `undefined`. */ export declare const ensureBlockContentArrayOrUndefined: (nodes: schema.Node[]) => schema.BlockContent[] | undefined;