rdesign/frontend/node_modules/@copilotkitnext/react/dist/components/chat/CopilotSidebarView.d.mts

36 lines
1.2 KiB
TypeScript

import { SlotValue } from "../../lib/slots.mjs";
import { CopilotChatViewProps, WelcomeScreenProps } from "./CopilotChatView.mjs";
import { CopilotChatToggleButton } from "./CopilotChatToggleButton.mjs";
import { CopilotModalHeader } from "./CopilotModalHeader.mjs";
import React from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";
//#region src/components/chat/CopilotSidebarView.d.ts
type CopilotSidebarViewProps = CopilotChatViewProps & {
header?: SlotValue<typeof CopilotModalHeader>;
toggleButton?: SlotValue<typeof CopilotChatToggleButton>;
width?: number | string;
defaultOpen?: boolean;
};
declare function CopilotSidebarView({
header,
toggleButton,
width,
defaultOpen,
...props
}: CopilotSidebarViewProps): react_jsx_runtime0.JSX.Element;
declare namespace CopilotSidebarView {
var displayName: string;
}
declare namespace CopilotSidebarView {
/**
* Sidebar-specific welcome screen layout:
* - Suggestions at the top
* - Welcome message in the middle
* - Input fixed at the bottom (like normal chat)
*/
const WelcomeScreen: React.FC<WelcomeScreenProps>;
}
//#endregion
export { CopilotSidebarView, CopilotSidebarViewProps };
//# sourceMappingURL=CopilotSidebarView.d.mts.map