A regular definition is not IDL.

interface MyInterface {
  constructor();
};

The another term is also not IDL.

dictionary MyDict {
  boolean flag;
};