import { CSSProperties, ReactNode } from 'react';
type ToastPosition = 'top' | 'bottom';
type ToastRenderProps = {
    onClose: () => void;
};
export type ToastOptions = {
    duration?: number | null;
    position?: ToastPosition;
    render: (props: ToastRenderProps) => ReactNode;
};
export type UseToastOptions = {
    containerStyle?: CSSProperties;
};
export declare function ToastProvider({ children }: {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useToast(options?: UseToastOptions): (toastOptions: ToastOptions) => number;
export {};
