import React from 'react'; import { ReactSVGComponentType } from '@preply/ds-web-core'; declare type LinkProps = { href: string; text: string; onClick?: () => void; }; declare type ButtonProps = { href?: string; text: string; onClick?: () => void; }; declare type Dataset = { [key: string]: string | number | boolean; }; export declare type RebrandToastProps = { heading?: string | JSX.Element; text?: string | JSX.Element; button?: ButtonProps; opened: boolean; label?: string; duration?: number; link?: LinkProps; icon?: ReactSVGComponentType; onOpenChange: (v: boolean) => void; onClose?: () => void; dataset?: Dataset; }; export declare const RebrandToast: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=index.d.ts.map