export declare class ToastController {
    element: HTMLElement;
    /**
     * Dismiss all toasts.
     */
    dismissAll(): Promise<void>;
    /**
     * Pop a toast for bad things.
     * The first argument is the message, and the second is an optional header.
     */
    error(message: string, header?: string): Promise<HTMLAnjToastElement>;
    /**
     * Pop a toast for whatever, we're all nihilists with neutral toasts
     * The first argument is the message, and the second is an optional header.
     */
    message(message: string, header?: string): Promise<HTMLAnjToastElement>;
    /**
     * Pop a toast for good things.
     * The first argument is the message, and the second is an optional header.
     */
    success(message: string, header?: string): Promise<HTMLAnjToastElement>;
    /**
     * Pop a toast for things that aren't awful, but not great either.
     * The first argument is the message, and the second is an optional header.
     */
    warn(message: string, header?: string): Promise<HTMLAnjToastElement>;
    private createToast;
}
