import type { ReactEventHandler } from '../types'; import type { StreamMessage } from '../../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare const missingUseFlagHandlerParameterWarning = "useFlagHandler was called but it is missing one or more necessary parameters."; export declare type FlagMessageNotifications = { getErrorNotification?: (message: StreamMessage) => string; getSuccessNotification?: (message: StreamMessage) => string; notify?: (notificationText: string, type: 'success' | 'error') => void; }; export declare const useFlagHandler: (message?: StreamMessage | undefined, notifications?: FlagMessageNotifications) => ReactEventHandler; //# sourceMappingURL=useFlagHandler.d.ts.map