import { type Dispatch, type SetStateAction } from 'react'; import type { AppProps } from '../app-props.js'; import type { MailboxAgentEntry, MailboxMessageEntry } from '../components/mailbox-panel.js'; import type { MailboxStatus } from '../components/status-bar.js'; /** Owns mailbox status subscriptions and the lightweight panel projection. */ export declare function useMailboxViewModel(events: AppProps['events']): { mailboxStatus: MailboxStatus; mailboxPanelOpen: boolean; setMailboxPanelOpen: Dispatch>; mailboxMessages: MailboxMessageEntry[]; mailboxAgents: MailboxAgentEntry[]; }; //# sourceMappingURL=use-mailbox-view-model.d.ts.map