import { type ReactNode } from 'react'; /** Where the conversation list goes: beside the thread, in a drawer over it, * or whichever fits the width the chat is given. */ export type SidebarMode = 'inline' | 'drawer' | 'auto'; /** The list at its default width beside the narrowest thread that still * reads comfortably; narrower than that, 'auto' moves the list to a drawer. */ export declare const DRAWER_BELOW_PX: number; /** Put on the element the thread and composer sit in: their shared column * grows with it, from 50rem to 64rem, instead of staying 50rem on a wide * screen. */ export declare const CHAT_COLUMN_SCOPE = "@container [--chat-column:clamp(50rem,60cqi,64rem)]"; /** A conversation list beside a thread, or in a drawer over it when the * space is narrow. The list reads where it goes from `useChat` * (`sidebarPresentation`, `drawerOpen`); `ChatLayout` is this with the chat * list, and a host with its own list uses it directly. Must be mounted * inside a ChatProvider. */ export declare function ConversationLayout({ sidebar, children, sidebarMode, drawerBelowPx, drawerToggle, drawerBar, }: { sidebar: ReactNode; children: ReactNode; sidebarMode?: SidebarMode; /** The width under which 'auto' shows the drawer. */ drawerBelowPx?: number; /** False when the host's own header opens the drawer. */ drawerToggle?: boolean; /** Beside the drawer's toggle, while the list is a drawer: what the top of * the list would otherwise keep in view. */ drawerBar?: ReactNode; }): import("react").JSX.Element; export default function ChatLayout({ children, sidebarActions, sidebarTop, sidebarMode, drawerBelowPx, drawerToggle, drawerBar, }: { children: ReactNode; sidebarActions?: boolean; /** Above the conversation list, given whether it is collapsed to the rail. */ sidebarTop?: ((state: { collapsed: boolean; }) => ReactNode) | undefined; sidebarMode?: SidebarMode; /** The chat's width under which 'auto' shows the drawer. */ drawerBelowPx?: number; /** False when the host's own header opens the drawer. */ drawerToggle?: boolean; /** Beside the drawer's toggle, while the list is a drawer. */ drawerBar?: ReactNode; }): import("react").JSX.Element;