/** @jsxImportSource @opentui/solid */
import { type ParentProps } from "solid-js";
export type ToastTone = "info" | "success" | "warning" | "error";
export interface ToastInput {
    title?: string;
    message: string;
    tone?: ToastTone;
    duration?: number;
}
declare function createToastStore(): {
    readonly current: (ToastInput & {
        id: number;
        tone: ToastTone;
    }) | null;
    show(input: ToastInput): void;
    clear: () => void;
};
type ToastContextValue = ReturnType<typeof createToastStore>;
export declare function ToastProvider(props: ParentProps): import("solid-js").JSX.Element;
export declare function useToast(): ToastContextValue;
export declare function ToastViewport(): import("solid-js").JSX.Element;
export {};
//# sourceMappingURL=toast.d.ts.map