import { type AppContextValue } from "../../app-context.js"; import type { SessionListRow } from "../../../session-list-model.js"; /** A full chat (header) or a sidebar row: both carry the profile fields. */ type ProfileSession = SessionListRow; /** Saves a chat's profile change (the app's `updateSessionProfile`). */ export type UpdateSessionProfileFn = NonNullable; /** Whether this host can save a chat's profile (it predates bots otherwise). */ export declare function useCanEditSessionProfile(): boolean; /** The profile dialog for one chat, saving only what changed. */ export declare function SessionProfileEditorDialog({ session, update, open, onOpenChange, }: { session: ProfileSession; update: UpdateSessionProfileFn; open: boolean; onOpenChange: (open: boolean) => void; }): import("react").JSX.Element; export {};