import type { HTMLAttributes } from 'react';
import React from 'react';
import type { ColorToast } from '../../types';
export interface CToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
    animation?: boolean;
    autohide?: boolean;
    className?: string;
    delay?: number;
    index?: number;
    key?: number;
    onClose?: (index: number | null) => void;
    onShow?: (index: number | null) => void;
    visible?: boolean;
    color?: ColorToast;
    closeButton?: boolean;
    closeIcons?: boolean;
}
interface ContextProps extends CToastProps {
    visible?: boolean;
    setVisible: React.Dispatch<React.SetStateAction<boolean>>;
    color?: ColorToast;
}
export declare const CToastContext: React.Context<ContextProps>;
export declare const CToast: React.ForwardRefExoticComponent<CToastProps & React.RefAttributes<HTMLDivElement>>;
export {};
