export interface AddProjectArtifactsOptions { /** Absolute path to the solution directory (containing the `.uipx`). */ solutionDir: string; /** Stable project key — must match the `Id` in `.uipx` `Projects[]`. */ projectId: string; /** Display name for the project; typically the project folder name. */ projectName: string; /** * Project type as written to `project.uiproj` (e.g. `Flow`, * `ProcessOrchestration`, `Agent`, `CaseManagement`, `AppV2`). Normalized * internally via `normalizeProjectType` so callers can pass the raw value. */ projectType: string; /** * Optional SDK subType. Used by the resource-builder-sdk to pick the right * artifact-resource template. For AppV2 (coded apps) callers must pass * `"Coded"` for a regular coded app or `"CodedAction"` for a coded action * app — mirrors the `context.projectSubType` value Studio Web posts when * a project is created in a solution. Without a matching subType the SDK * template lookup misses and falls back to a generic Process resource, * which places the project under the Processes tab instead of Apps. */ projectSubType?: string; } export interface ProjectArtifactsResult { /** True when artifact resources were generated. */ Created: boolean; /** Error message when `Created` is `false`. */ Error?: string; } /** * Generate `resources/solution_folder/process//` artifact-resource * entries for a project that has just been registered in the parent * solution's `.uipx`. Mirrors the second half of `uip solution project add` * (after the manifest write), so `*-tool init` paths can produce the same * complete on-disk state without requiring a follow-up * `solution project remove` + `add` cycle. * * Returns a result envelope instead of throwing: the project files have * already been created by the init caller, so a failure here is recoverable * with `solution project remove` + `add`. Callers surface the result in * their success envelope as `Data.ProjectArtifacts`. */ export declare function addProjectArtifactsToSolutionAsync(options: AddProjectArtifactsOptions): Promise;