rdesign/frontend/node_modules/@copilotkitnext/react/dist/components/chat/CopilotModalHeader.d.cts

31 lines
1.3 KiB
TypeScript

import { WithSlots } from "../../lib/slots.cjs";
import * as react_jsx_runtime0 from "react/jsx-runtime";
import React from "react";
//#region src/components/chat/CopilotModalHeader.d.ts
type HeaderSlots = {
titleContent: typeof CopilotModalHeader.Title;
closeButton: typeof CopilotModalHeader.CloseButton;
};
type HeaderRestProps = {
title?: string;
} & Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
type CopilotModalHeaderProps = WithSlots<HeaderSlots, HeaderRestProps>;
declare function CopilotModalHeader({
title,
titleContent,
closeButton,
children,
className,
...rest
}: CopilotModalHeaderProps): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
declare namespace CopilotModalHeader {
var displayName: string;
}
declare namespace CopilotModalHeader {
const Title: React.FC<React.HTMLAttributes<HTMLDivElement>>;
const CloseButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
}
//#endregion
export { CopilotModalHeader, CopilotModalHeaderProps };
//# sourceMappingURL=CopilotModalHeader.d.cts.map