import type * as React from "react"; import { ChooserDialogContent } from "@/shared/ui/chooser-dialog-content"; import { Dialog } from "@/shared/ui/dialog"; type AgentDefinitionDialogShellProps = { children: React.ReactNode; description: string; embedded: boolean; footer: React.ReactNode; onOpenChange: (open: boolean) => void; open: boolean; title: string; }; export function AgentDefinitionDialogShell({ children, description, embedded, footer, onOpenChange, open, title, }: AgentDefinitionDialogShellProps) { if (embedded) { return (