import Base, { MaybeRaw } from "../../../Base"; import { Stack } from "../../../interfaces/cosmo/asset"; export declare class CosmoStack extends Base { /** * Create a new Stack in Cosmo inside the specified Organization and Space. * * @param organizationName Name of the Organization * @param spaceName Name of the Space * @param assetIds Array of Asset IDs to include in the Stack * @param raw (optional) If true, returns the raw Axios response * @returns The created Stack */ createStack(organizationName: string, spaceName: string, assetIds: [string, string, ...string[]], raw?: { raw: R; }): Promise>; /** * Attach Assets to an existing Stack in Cosmo. * * @param organizationName Name of the Organization * @param spaceName Name of the Space * @param stackId ID of the Stack * @param assetIds Array of Asset IDs to attach * @param raw (optional) If true, returns the raw Axios response * @returns The updated Stack */ attachAssetsToStack(organizationName: string, spaceName: string, stackId: string, assetIds: string[], raw?: { raw: R; }): Promise>; /** * Detach an Asset from a Stack in Cosmo. * * @param organizationName Name of the Organization * @param spaceName Name of the Space * @param stackId ID of the Stack * @param assetIds Array of Asset IDs to detach * @param raw (optional) If true, returns the raw Axios response * @returns The updated Stack, or 204 No Content if the Stack is empty after detachment (disbanded) */ detachAssetsFromStack(organizationName: string, spaceName: string, stackId: string, assetIds: string[], raw?: { raw: R; }): Promise>; /** * Reorder the Assets in a Stack in Cosmo. * * @param organizationName Name of the Organization * @param spaceName Name of the Space * @param stackId ID of the Stack * @param assetIds New ordered array of Asset IDs * @param raw (optional) If true, returns the raw Axios response * @returns The updated Stack with reordered Assets */ reorderStack(organizationName: string, spaceName: string, stackId: string, assetIds: [string, string, ...string[]], raw?: { raw: R; }): Promise>; /** * Disband (delete) a Stack in Cosmo. * * @param organizationName Name of the Organization * @param spaceName Name of the Space * @param stackId ID of the Stack to delete * @param raw (optional) If true, returns the raw Axios response * @returns void */ disbandStack(organizationName: string, spaceName: string, stackId: string, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }