import type * as Ably from '@ably/pubsub-core/api'; interface ChannelAttachResult { connectionState: Ably.ConnectionState; } export declare function useChannelAttach(channel: Ably.RealtimeChannel, contextId: string | undefined, skip: boolean): ChannelAttachResult; export {};