import { type Component, type JSX } from 'solid-js'; import type { ChatSessionMeta } from '@conciv/protocol/chat-types'; declare function Root(props: JSX.HTMLAttributes): JSX.Element; type ItemsProps = { archived?: boolean; } & ({ components: { ThreadListItem: Component; }; children?: never; } | { children: (session: () => ChatSessionMeta) => JSX.Element; components?: never; }); declare function Items(props: ItemsProps): JSX.Element; export declare const ThreadList: typeof Root & { Root: typeof Root; New: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; Items: typeof Items; LoadMore: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; }; declare function ItemRoot(props: JSX.HTMLAttributes): JSX.Element; declare function ItemTitle(props: { fallback?: JSX.Element; }): JSX.Element; export declare const ThreadListItem: typeof ItemRoot & { Root: typeof ItemRoot; Trigger: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; Title: typeof ItemTitle; Archive: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; Unarchive: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; Delete: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; }; export {}; //# sourceMappingURL=thread-list.d.ts.map