import { StateEvent } from "./RoomEvent" ; category see AliasesEvent export interface AliasesEventContent { /**
     * The aliases this domain has published to the room.
     */ aliases : string [ ] ; } category export class AliasesEvent extends StateEvent < AliasesEventContent > { constructor ( event ) { super ( event ) ; } /**
     * The domain the aliases belong to.
     */ public get forDomain ( ) : string { return this . stateKey ; } /**
     * The aliases the domain has published to the room.
     */ public get aliases ( ) : string [ ] { return this . content . aliases || [ ] ; } }