36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { SlotValue } from "../../lib/slots.cjs";
|
|
import { CopilotChatViewProps, WelcomeScreenProps } from "./CopilotChatView.cjs";
|
|
import { CopilotChatToggleButton } from "./CopilotChatToggleButton.cjs";
|
|
import { CopilotModalHeader } from "./CopilotModalHeader.cjs";
|
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
import React from "react";
|
|
|
|
//#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.cts.map
|