declare module 'use-subscription' { export function useSubscription(subscription: { getCurrentValue: () => Value; subscribe: (callback: () => void) => () => void; }): Value; }