import { OwnUser } from '../../gen/models';
export interface ConnectionChangedEvent {
    type: 'connection.changed';
    online: boolean;
}
/**
 * This event is sent when the WS connection is established and authenticated, this event contains the full user object as it is stored on the server
 * @export
 * @interface ConnectedEvent
 */
export interface ConnectedEvent {
    /**
     * The connection_id for this client
     * @type {string}
     * @memberof ConnectedEvent
     */
    connection_id: string;
    /**
     *
     * @type {string}
     * @memberof ConnectedEvent
     */
    created_at: string;
    /**
     *
     * @type {OwnUserResponse}
     * @memberof ConnectedEvent
     */
    me: OwnUser;
    /**
     * The type of event: "connection.ok" in this case
     * @type {string}
     * @memberof ConnectedEvent
     */
    type: string;
}
