/** * synap artifact * * Define AI-generated cells from local HTML/JS source. * * Usage: * synap artifact create --html [--name ] [--workspace ] [--open] * * API: * POST /api/hub/cells/define — { name, rendererSource, workspaceId, typeKey?, description? } * * The cell is registered with rendererType:'frame' and trustLevel:'generated'. * useRegisterFrameCells picks it up and makes it available in cellRegistry. * Open it in the desktop app with: * synap open cell */ export interface ArtifactCreateOpts { html?: string; name?: string; workspace?: string; open?: boolean; json?: boolean; podUrl?: string; apiKey?: string; } export declare function artifactCreate(opts: ArtifactCreateOpts): Promise;