import { ToneKeyword } from '../../shared/theming'; import { ExtractStrict } from '../../shared/utils'; type Toaster = { hide: () => void; }; export interface Toast { /** * A method to display a Toast notification. * @return Function to hide toast */ show: (content: string, options?: ToastOptions) => Toaster; } export interface ToastOptions { /** * Sets the tone of the Toast, based on the intention of the information being conveyed. * @default 'auto' */ tone?: ExtractStrict; } export {};