import { SvelteComponent } from "svelte"; /** * A notification inbox component that displays a list of notifications for the current user. * * Supports pagination, read/unread states, and customizable rendering of notification items. * Can be embedded directly in a page or used in combination with floating UIs using FloatingInbox. **/ type Props = { /** * Passed through by a parent component when rendering the FloatingInbox * @internal * @default false */ floating?: boolean; /** * Set the height of the inbox. * @default 400 */ height?: number; /** * Estimated item height. It gets measured after mount, but it helps to estimate * this to limit layout shift. * @default 50 */ itemHeight?: number; /** * Component to use as Notification Item. The component receives two props; * `index: number` and `data: Notification`. * @type {Component} */ ItemComponent?: any; }; declare const __propDef: { props: { height?: Props["height"]; itemHeight?: Props["itemHeight"]; floating?: Props["floating"]; ItemComponent?: Props["ItemComponent"]; }; events: { [evt: string]: CustomEvent; }; slots: {}; exports?: {} | undefined; bindings?: string | undefined; }; export type InboxProps = typeof __propDef.props; export type InboxEvents = typeof __propDef.events; export type InboxSlots = typeof __propDef.slots; export default class Inbox extends SvelteComponent { } export {};