/** 订单状态。 */
export enum OrderStatus {
  /** 待支付 */
  Pending = 'pending',
  Paid = 'paid', // 已支付
  // 已取消
  Cancelled = 'cancelled',
}

enum Direction { Up, Down = 5, Left, Right = -1, Next, Mask = 1 << 2, After }

export const enum Flag { A = 0x10, B }

declare enum Ambient { X }

export declare const enum Both { Y = 1 }

function local(): void {
  enum Inner { Z }
}
