import * as Ably from '@ably/pubsub-core'; /** * Represents the occupancy data of a chat room. */ export interface OccupancyData { /** * The number of connections to the chat room. */ connections: number; /** * The number of presence members in the chat room - members who have entered presence. */ presenceMembers: number; } /** * Parses occupancy data from an Ably message, using fallback values of 0 for invalid data. * @param message The Ably message containing occupancy data * @returns Parsed occupancy data with fallback values for invalid fields */ export declare const parseOccupancyMessage: (message: Ably.InboundMessage) => OccupancyData;