export default Infobar; type Infobar = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial): void; }; declare const Infobar: import("svelte").Component<{ /** * Whether to show the toast. */ show?: boolean | undefined; /** * Whether to show the close button. */ dismissible?: boolean | undefined; /** * Information status. Errors and * warnings are `role="alert"` and interrupt; information and success are `role="status"` and * wait. */ status?: "error" | "warning" | "info" | "success" | undefined; /** * ARIA live region politeness. Defaults to * `assertive` for an alert and `polite` for a status. */ ariaLive?: "off" | "polite" | "assertive" | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Icon slot content. */ icon?: Snippet<[]> | undefined; /** * Callback invoked when the close button is clicked. */ onDismiss?: (() => void) | undefined; }, {}, "show">; type Props = { /** * Whether to show the toast. */ show?: boolean | undefined; /** * Whether to show the close button. */ dismissible?: boolean | undefined; /** * Information status. Errors and * warnings are `role="alert"` and interrupt; information and success are `role="status"` and * wait. */ status?: "error" | "warning" | "info" | "success" | undefined; /** * ARIA live region politeness. Defaults to * `assertive` for an alert and `polite` for a status. */ ariaLive?: "off" | "polite" | "assertive" | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Icon slot content. */ icon?: Snippet<[]> | undefined; /** * Callback invoked when the close button is clicked. */ onDismiss?: (() => void) | undefined; }; import type { Snippet } from 'svelte';