/// import type { SvelteComponentTyped } from "svelte"; export type SnackbarPositions = typeof import("./snackbar-positions").default; export interface SnackbarContainerProps { /** * The position of the snackbar stack inside the container. * @default undefined */ position?: SnackbarPositions[keyof SnackbarPositions]; } export default class SnackbarContainer extends SvelteComponentTyped< SnackbarContainerProps, {}, { default: { showSnackbar: >(options: { component: import("svelte").SvelteComponentTyped; props: Props; duration: number; }) => { close: () => void; expired: Promise; }; }; } > { /** * Show the snackbar with the given options */ showSnackbar: >(options: { component: import("svelte").SvelteComponentTyped; props: Props; duration: number; }) => { close: () => void; expired: Promise; }; }