import type WebviewClient from './client'; import type { EventValue, AnyClientAuthenticator } from '../types'; import type { EventContextOfClient } from './types'; declare function useEventReducer = WebviewClient>(client: Client, reducer: (value: T, context: EventContextOfClient) => T, initialValue: T): T; export default useEventReducer;