import { Core, Deploy } from '@fadroma/agent'; import type { Path } from '@hackbg/file'; import { SyncFS } from '@hackbg/file'; import * as Tools from "./tools.dist"; export { ProjectPrompter } from "./tools.dist"; export declare function getProject(root?: string | Path): Project; export declare function createProject(options?: { tools?: Tools.SystemTools; interactive?: boolean; name?: string; root?: string | Path | Promise | undefined; cargoWorkspace?: boolean; cargoCrate?: string; libFeatures?: string[]; }): Promise; declare class ProjectDirectory { root: SyncFS.Directory; get path(): string; constructor(root: string | Path); } export declare class Project extends ProjectDirectory { name?: string; constructor(root: string | Path, name?: string); readonly stateDir: SyncFS.Directory; readonly wasmDir: SyncFS.Directory; readonly envFile: SyncFS.File; readonly gitIgnore: SyncFS.File; readonly packageJson: SyncFS.File; readonly readme: SyncFS.File; readonly shellNix: SyncFS.File; readonly main: SyncFS.File; readonly cargoToml: SyncFS.File; readonly cargoCrates: Record; }>; createGitRepo(): this; writePlatformManifests(): this; writeApplicationTemplate(): this; runNPMInstall(tools: Tools.SystemTools): this; logStatus(): Promise; createDeployment(): Deploy.Deployment; getDeployment(): Promise; cargoUpdate(): this; } /** Project that consists of scripts plus multiple crates in a Cargo workspace. */ export declare class CargoWorkspaceProject extends Project { /** The root file of the workspace */ readonly cargoToml: SyncFS.File; /** Directory where deployable crates live. */ readonly contractsDir: SyncFS.Directory; /** Directory where non-deployable crates live. */ readonly librariesDir: SyncFS.Directory; } //# sourceMappingURL=create.d.ts.map