import type { TuiPluginModule } from "@opencode-ai/plugin/tui"; type SidebarSlotRegistration = { readonly order: number; readonly slots: { readonly sidebar_content: () => Node | (() => Node); }; }; type RegisterSidebarContentSlotInput = { readonly registerSlot: (registration: SidebarSlotRegistration) => void; readonly requestRender: () => void; readonly renderSidebar: () => Node; }; export declare function registerSidebarContentSlot({ registerSlot, requestRender, renderSidebar, }: RegisterSidebarContentSlotInput): void; export declare function handleTuiPollError(error: unknown, reportPollError?: (error: Error) => void): void; declare const module: TuiPluginModule; export default module;