import User from './common/User'; import { MediaWikiEvent } from './EventStream'; import Page from './common/Page'; import Comment from './common/Comment'; import Revision from './common/Revision'; interface Visibility { /** Whether the revision's text is visible. */ text: boolean; /** Whether the author of the revision's text is visible. */ user: boolean; /** Whether the comment of the revision is visible. */ comment: boolean; } /** Represents a MW Revision Visibility Change event. */ export default interface MediaWikiRevisionVisibilityChangeEvent extends MediaWikiEvent, Page, Comment, Revision { /** Represents the user that performed this change. */ performer?: User; /** Chronology Protector client ID. */ chronology_id?: string; /** The visibility state of this revision. */ visibility: Visibility; /** * The prior state of the entity before this event. Revisions always * have visibility settings, so this object will always contain the * visibility settings for the revision before this event. */ prior_state: { /** The prior visibility state of this revision. */ visibility: Visibility; }; } /** * * @param object */ export declare function isMediaWikiRevisionVisibilityChangeEvent(object: any): object is MediaWikiRevisionVisibilityChangeEvent; export {};