import type { BasicMetaSysProps, DefaultElements, ISO8601Timestamp, Link, MakeRequest, VersionedLink } from '../common-types'; type JsonObject = { [Key in string]?: JsonValue; }; type JsonArray = Array; type JsonValue = string | number | boolean | JsonObject | JsonArray | null; declare enum EnvironmentTemplateInstallationStatuses { created = "created", inProgress = "inProgress", failed = "failed", succeeded = "succeeded", disconnected = "disconnected", inRetry = "inRetry" } export type EnvironmentTemplateInstallationStatus = keyof typeof EnvironmentTemplateInstallationStatuses; export type EnvironmentTemplateInstallationProps = { sys: BasicMetaSysProps & { type: 'EnvironmentTemplateInstallation'; space: Link<'Space'>; template: VersionedLink<'Template'>; status: EnvironmentTemplateInstallationStatus; createdAt: ISO8601Timestamp; updatedAt: ISO8601Timestamp; createdBy: Link<'User' | 'AppDefinition'>; updatedBy: Link<'User' | 'AppDefinition'>; completedAt?: ISO8601Timestamp; errors?: JsonArray; environment: Link<'Environment'>; version: number; }; }; export type CreateEnvironmentTemplateInstallationProps = { version: number; takeover?: { items: Link<'ContentType'>[]; }; changeSet?: Link<'ChangeSet'>; }; export type ValidateEnvironmentTemplateInstallationProps = Omit; export type ValidationFinding = { message: string; details: Record; }; export type EnvironmentTemplateValidationProps = { sys: { type: 'Array'; environment: Link<'Environment'>; space: Link<'Space'>; changeSet: Link<'ChangeSet'>; }; items: T[]; }; export type EnvironmentTemplateInstallation = EnvironmentTemplateInstallationProps & DefaultElements; export declare function wrapEnvironmentTemplateInstallation(makeRequest: MakeRequest, data: EnvironmentTemplateInstallationProps): EnvironmentTemplateInstallation; export declare const wrapEnvironmentTemplateInstallationCollection: (makeRequest: MakeRequest, data: import("../common-types").CursorPaginatedCollectionProp) => import("../common-types").CursorPaginatedCollection; export {};