import type { ObservedArray } from '../../helpers.js';
import { YTNode } from '../../helpers.js';
import { Parser, type RawNode } from '../../index.js';

export default class MultiPageMenuSection extends YTNode {
  static type = 'MultiPageMenuSection';

  public items: ObservedArray<YTNode> | null;

  constructor(data: RawNode) {
    super();
    this.items = Parser.parseArray(data.items);
  }
}