import Base, { MaybeRaw } from "../../../../../../Base"; import { Design } from "../../../../../../interfaces/high5/space/event/stream/design"; import { DesignContent } from "../../../../../../interfaces/high5/space/event/stream/design/StreamDesign"; import DesignOperations from "./DesignOperations"; import High5DesignSnapshots from "./snapshot"; export declare class High5Design extends Base { /** * API to manage design snapshots */ get snapshots(): High5DesignSnapshots; private _snapshots?; /** * API to perform operations on the Stream Design */ get operations(): DesignOperations; private _operations?; /** * Retrieves a stream's design. * @param orgName Name of the organization * @param spaceName Name of the space * @param eventName Name of the event * @param streamId ID of the stream * @returns The requested design */ getDesign(orgName: string, spaceName: string, eventName: string, streamId: string, raw?: { raw: R; }): Promise>; /** * Creates/overwrites a new design for the specified stream. * * To publish the current design for execution use the {@link publishDesign} method * * @param orgName Name of the organization * @param spaceName Name of the space * @param eventName Name of the event * @param streamId ID of the stream * @param content Design as Json payload (schema created by Stream Designer Studio) * @returns The created design */ createDesign(orgName: string, spaceName: string, eventName: string, streamId: string, name: string, content: DesignContent, raw?: { raw: R; }): Promise>; /** * Publish the current design for a specified stream * * To set the current design use the {@link createDesign} method * * @param orgName Name of the organization * @param spaceName Name of the space * @param eventName Name of the event * @param streamId ID of the stream * @param content Design as Json payload (schema created by Stream Designer Studio) * @returns The created design */ publishDesign(orgName: string, spaceName: string, eventName: string, streamId: string, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }