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