import * as React from "react"; export interface IToastProps { mount: boolean; title: string; subtitle: string; /** * A selector to find the element in which the pointer * will point to */ pointTo?: string; arrowPosition?: ToastArrowPosition; } export declare enum ToastArrowPosition { Left = "Left", Center = "Center", Right = "Right" } interface IToastState { /** * We keep track of the mount in state * such that we can delay updating */ mount: boolean; } export declare class Toast extends React.Component { state: IToastState; ref: React.RefObject; pointerRef: React.RefObject; private timer; constructor(props: any); componentDidMount(): void; shouldComponentUpdate(nextProps: IToastProps, nextState: IToastState): boolean; componentDidUpdate(prevProps: IToastProps): void; render(): JSX.Element; private handleChangeMountProps; private withNode; private withPointerNode; } export {};