import { ChannelMetadataObject, ObjectCustom, GetMembershipsParametersv2 } from "pubnub";
declare type HookReturnValue = [
    ChannelMetadataObject<ObjectCustom>[],
    () => Promise<void>,
    () => void,
    number,
    Error
];
export declare const useUserMemberships: (options?: GetMembershipsParametersv2) => HookReturnValue;
export {};
