import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { ShallowRef } from "vue"; //#region src/components/Snackbar/SnackbarPortal.vue.d.ts interface SnackbarPortalContext { /** Mirror a message into the persistent announcers. Urgent routes to the assertive/alert region. */ announce: (message: string, urgent?: boolean) => void; /** Current polite (role="status") announcement text */ polite: Readonly>; /** Current assertive (role="alert") announcement text */ assertive: Readonly>; } interface SnackbarPortalProps extends AtomProps { /** Auto-render the Snackbar.Announcer live-region pair. Set false to omit it or place `` yourself. @default true */ announcer?: boolean; /** Namespace for dependency injection. @default 'v0:notifications' */ namespace?: string; /** Teleport target. `'top-layer'` mounts into the topmost open modal; `false` renders inline. @default 'top-layer' */ teleport?: 'top-layer' | (string & {}) | false; } interface SnackbarPortalSlotProps { /** Calculated z-index from useStack */ zIndex: number; /** * Attributes to bind to the portal element. * * @remarks * The style carries only `zIndex` so consumer positioning (classes or * styles like `absolute` / `fixed`) wins. In renderless mode the wrapper * you render must be positioned (non-`static`) for the z-index to take * effect — the automatic `position: relative` fallback only covers the * element rendered by the non-renderless Atom. */ attrs: { style: { zIndex: number; }; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: SnackbarPortalSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { SnackbarPortalContext, SnackbarPortalProps, SnackbarPortalSlotProps, _default as default };