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 an Asset 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 assetId ID of the Asset to attach * @param raw (optional) If true, returns the raw Axios response * @returns The updated Stack */ attachAssetToStack(organizationName: string, spaceName: string, stackId: string, assetId: 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 assetId ID of the Asset to detach * @param raw (optional) If true, returns the raw Axios response * @returns The updated Stack */ detachAssetFromStack(organizationName: string, spaceName: string, stackId: string, assetId: 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; }