import type { LocalMessage } from 'stream-chat'; import type { ReactEventHandler } from '../types'; export type PinMessageNotifications = { getErrorNotification?: (message: LocalMessage) => string; notify?: (notificationText: string, type: 'success' | 'error') => void; }; export declare const usePinHandler: (message: LocalMessage, notifications?: PinMessageNotifications) => { handlePin: ReactEventHandler; }; //# sourceMappingURL=usePinHandler.d.ts.map