import type { BrokerControlPlaneDashboardSnapshot } from "./broker/control-plane-dashboard.js"; import type { SlackBridgeRuntimeMode } from "./runtime-mode.js"; export type SlackBlock = Record; export interface SlackHomeView { type: "home"; blocks: SlackBlock[]; } export interface PublishSlackHomeTabInput { slack: (method: string, token: string, body?: Record) => Promise>; token: string; userId: string; view: SlackHomeView; } export interface StandalonePinetHomeTabInput { agentName: string; agentEmoji: string; connected: boolean; mode: SlackBridgeRuntimeMode; activeThreads: number; pendingInbox: number; currentBranch?: string | null; defaultChannel?: string | null; } export declare function renderBrokerControlPlaneHomeTabView(snapshot: BrokerControlPlaneDashboardSnapshot): SlackHomeView; export declare function renderStandalonePinetHomeTabView(input: StandalonePinetHomeTabInput): SlackHomeView; export declare function buildSlackHomeTabPublishRequest(userId: string, view: SlackHomeView): Record; export declare function publishSlackHomeTab(input: PublishSlackHomeTabInput): Promise;