import type { HTMLButtonAttributes } from 'svelte/elements';
type PopoverAlign = 'left' | 'right';
interface InboxItem {
id: string | number;
tone: string;
title: string;
body: string;
time: string;
unread: boolean;
}
interface Props extends HTMLButtonAttributes {
/** Notification items rendered in the panel list. @default [] */
items?: InboxItem[];
/** Called with the clicked item when a list row is activated. */
onOpen?: (item: InboxItem) => void;
/** Called when "Mark all read" is clicked (only shown when unread > 0). */
onMarkAll?: () => void;
/** Glyph shown inside the bell button. @default '◔' */
glyph?: string;
/** Accessible base name for the bell trigger. @default 'Notifications' */
label?: string;
/** Popover edge alignment, forwarded to Popover. @default 'right' */
align?: PopoverAlign;
/** Popover panel width, forwarded to Popover. @default 320 */
width?: number | string;
/** Polymorphic trigger element. @default 'button' */
as?: string;
[key: string]: unknown;
}
declare const Inbox: import("svelte").Component;
type Inbox = ReturnType;
export default Inbox;