/** * Bundle a solution directory into a .uis file. * Also provides buildSolutionPackageFromDir for building .uis from * a pre-assembled solution directory (used by debug services). */ import type { IFileSystem } from "@uipath/filesystem"; import type { BundleResult } from "./types"; /** * Thrown when a `.uipignore` pattern would drop a project the `.uipx` lists. * `SolutionStorage.json` would still name that project, so the archive would * be broken on import; refusing up front is the only honest outcome. */ export declare class UipignoreExcludesProjectError extends Error { readonly projectManifestPath: string; constructor(projectManifestPath: string); } /** * Bundle a solution directory into a .uis file. * Validates the .uipx file, flattens project directories, and zips everything. * * Returns the path to the .uis file and metadata. * The caller is responsible for cleaning up the .uis file if it was created in a temp location. */ export declare function bundleSolution(fs: IFileSystem, solutionDir: string, outputDir: string, outputName?: string): Promise; /** * Build a .uis solution package from a pre-assembled solution directory. * The directory should already contain project subdirectories and optionally a .uipx file. * If a .uipx exists, SolutionStorage.json is generated from it. * * Used by debug services that prepare their own staging directory. * Uses fflate for in-process zip creation (no external zip CLI dependency). */ export declare function buildSolutionPackageFromDir(fs: IFileSystem, solutionDir: string): Promise; export { resolveSolutionDir } from "./solution-file";