import type { Channel, SessionAvatar, UpdateChannelRequest } from "@opengeni/sdk"; /** The API's project description limit. */ export declare const PROJECT_DESCRIPTION_MAX_LENGTH = 2000; /** * Whether two avatars look the same. Compared field by field, the way the * dialog writes them (letters upper-cased), so an avatar an agent stored as * "ux" doesn't count as changed when only the description is edited. */ export declare function sameProjectAvatar(a: SessionAvatar | null, b: SessionAvatar | null): boolean; /** The profile dialog for one project, saving only what changed. */ export declare function ProjectProfileDialog({ project, open, onOpenChange, update, }: { project: Channel; open: boolean; onOpenChange: (open: boolean) => void; /** Resolves false when the change was refused (for example a taken name). */ update: (change: UpdateChannelRequest) => Promise; }): import("react").JSX.Element;