/** Creates a {@link Root} ATS node for a text note */
export function createEventContentTree(event, content) {
    return {
        type: "root",
        event: typeof event !== "string" ? event : undefined,
        children: [
            {
                type: "text",
                value: content || (typeof event === "string" ? event : event.content),
            },
        ],
    };
}
/** @deprecated use createEventContentTree instead */
export const createTextNoteATS = createEventContentTree;
