import z from "zod"; /** Options accepted by project initialization. */ declare const initOptsSchema: z.ZodObject<{ project: z.ZodOptional; install: z.ZodDefault; yes: z.ZodDefault; }, z.core.$strip>; export declare const initCommand: import("../lib/command").CommandDefinition<{ readonly install: { readonly type: "boolean"; readonly default: true; }; readonly yes: { readonly type: "boolean"; readonly short: "y"; readonly default: false; }; readonly project: { type: "string"; short: string; }; readonly json: { type: "boolean"; }; }, z.ZodObject<{ json: z.ZodDefault; positionals: z.ZodTuple<[], null>; project: z.ZodOptional; install: z.ZodDefault; yes: z.ZodDefault; }, z.core.$strict>> & import("../lib/command").Command; /** * Initializes the current directory for one existing or newly created project. * * @param opts - Validated project, installation, and confirmation options. */ export declare function initProject(opts: z.infer): Promise; /** * Rejects initialization before API or filesystem mutation when a config * exists. * * @param cwd - Directory that would be initialized. * @throws When the directory contains a recognized config file. */ export declare function assertProjectDirectoryIsUninitialized(cwd: string): void; /** * Writes the non-destructive config, package manifest, and example scaffold. * * @param cwd - Directory to initialize. * @param projectId - Project identity written to the config file. */ export declare function scaffoldProjectDirectory(cwd: string, projectId: string): Promise<{ createdFiles: string[]; packageInstalled: boolean; }>; export {}; //# sourceMappingURL=init.d.ts.map