import type React from 'react'; import { type LocalMessage } from 'stream-chat'; export type FormData = Record; export type ActionHandlerReturnType = (dataOrName?: string | FormData, value?: string, event?: React.BaseSyntheticEvent) => Promise | void; export declare const handleActionWarning = "Action handler was called, but it is missing one of its required arguments.\nMake sure the hook is used within a Channel and is initialized with a valid message."; export declare function useActionHandler(message?: LocalMessage): ActionHandlerReturnType; //# sourceMappingURL=useActionHandler.d.ts.map