import type { ClassValue } from 'svelte/elements'; import { type ToastVariantType } from './variants'; interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const ToastBanner: $$__sveltets_2_IsomorphicComponent<{ /** The message displayed on the toast */ message: string; /** Function called when the close button is clicked */ dismiss: () => void; /** The action performed on the button */ action?: { text: string; handler: () => unknown; } | undefined; /** The severity of the notification you want to show users*/ variant?: ToastVariantType; /** * Optional secondary line shown below the message in smaller text. * When set, the toast switches to a taller layout. */ subMessage?: string | undefined; /** * Progress value between 0 and 100. When provided, the toast shows a * progress bar at the bottom and replaces the variant icon with a loading * spinner while in progress and a success icon when complete. */ percent?: number | undefined; /** Color of the progress bar. Defaults to green. */ progressColor?: string; /** Additional CSS classes to pass to the banner. */ cx?: ClassValue; }, { [evt: string]: CustomEvent; }, {}, {}, string>; type ToastBanner = InstanceType; export default ToastBanner;