import { Swipe } from './useSwipe';
import { JSX, ReactNode } from 'react';
export interface Notify {
    type?: "toast" | "notify";
    id?: number | string;
    title?: string;
    date?: number | string | Date;
    img?: string;
    style?: object;
    message?: any | ReactNode | JSX.Element;
    timer?: number;
    importance?: boolean;
    remain?: boolean;
    swipe?: Swipe;
}
interface NotificationStore {
    notis: Notify[];
    toasts: Notify[];
    nonce: number;
    read: boolean;
    count: number;
    setNotiList: (notis: Notify[]) => void;
    setToasts: (toasts: Notify[]) => void;
    setNonce: (nonce: number) => void;
    setRead: (read: boolean) => void;
    setCount: (count: number) => void;
    setNotis: (notis: Notify[]) => void;
    addNotify: (obj: Notify) => void;
    addToast: (obj: Notify) => void;
    removeNotify: (id?: number | string) => void;
    removeToast: (id?: number | string) => void;
    resetCount: () => void;
    saveNotis: (key: string) => void;
    loadNotis: (key: string) => Notify[];
}
export default function useNotification(): NotificationStore;
export {};
//# sourceMappingURL=useNotification.d.ts.map