import { CueAuth } from './auth'; import { CreateCustomAppOptions, CustomAppRecord, CustomAppWithHtml, UpdateCustomAppOptions } from './models'; /** * Studio apps saved and shared within an organization — e.g. apps built with * the AI App Builder. Distinct from `cue.api.appData`: that's a private, * per-user settings blob namespaced by an app's own id; this is the shared * app record itself (name, HTML, author) visible to every member of the app's * organization. */ export declare class CueApps { private readonly _auth; private readonly _gatewayUrl; constructor(_auth: CueAuth, _gatewayUrl: string); /** List every custom app shared within the given organization (metadata only, no HTML). */ list(organizationId: string): Promise; /** Fetch a single custom app's full record, including its HTML body. */ get(id: string): Promise; /** Save a new custom app, shared with every member of `organizationID`. Any org member may create one. */ create(options: CreateCustomAppOptions): Promise; /** Update an existing custom app. Only the original author or an organization admin may do this. */ update(id: string, options: UpdateCustomAppOptions): Promise; /** Delete a custom app. Only the original author or an organization admin may do this. */ remove(id: string): Promise; }