import { OverlayBase, OverlayConfig, OverlayInstance } from "./Overlay"; import { RenderingContext } from "../../ui/RenderingContext"; import { NumberProp, StringProp } from "../../ui/Prop"; export interface ToastConfig extends OverlayConfig { /** Value of timeout in milliseconds after which the toast is automatically dismissed. */ timeout?: NumberProp; message?: StringProp; /** Add default padding. Default is `true`. */ pad?: boolean; /** * Defines where the toast will be placed. * Supported values are `top`, `right`, `bottom` and `left`. Default value is `top`. */ placement?: string; } export declare class Toast extends OverlayBase { message?: StringProp; pad?: boolean; placement?: string; init(): void; declareData(...args: Record[]): void; prepareData(context: RenderingContext, instance: OverlayInstance): void; overlayDidUpdate(instance: OverlayInstance, component: any): void; overlayDidMount(instance: OverlayInstance, component: any): void; overlayWillUnmount(instance: OverlayInstance, component: any): void; containerFactory(instance?: OverlayInstance, initiatingEvent?: React.SyntheticEvent): HTMLElement; } //# sourceMappingURL=Toast.d.ts.map