import { z } from "zod"; import type { WarningSink } from "./cli-helpers.js"; /** * Personal defaults applied to every scaffold. Per-project answers * (project name, description, GitHub repo URL) are deliberately excluded. */ export declare const userConfigSchema: z.ZodObject<{ author: z.ZodOptional; bundler: z.ZodOptional>; includeCli: z.ZodOptional; includeCodecov: z.ZodOptional; includeCommunityFiles: z.ZodOptional; includeJsr: z.ZodOptional; includeSecurityWorkflows: z.ZodOptional; includeZod: z.ZodOptional; license: z.ZodOptional>; lintFormatTooling: z.ZodOptional>; nodeTarget: z.ZodOptional>; packageManager: z.ZodOptional>; }, z.core.$strict>; export type UserConfig = z.infer; export declare const getUserConfigPath: (env?: Record) => string; export declare const userConfigKeys: string[]; /** * Writes atomically (temp file in the same directory, then rename) so an * interrupted write cannot leave a half-written config behind. */ export declare const saveUserConfig: (config: UserConfig, configPath?: string) => Promise; export declare const setUserConfigValue: (config: UserConfig, key: string, value: string) => UserConfig; export declare const unsetUserConfigValue: (config: UserConfig, key: string) => UserConfig; export declare const readUserConfigValue: (config: UserConfig, key: string) => unknown; export declare const loadUserConfig: (warn: WarningSink, configPath?: string) => Promise; //# sourceMappingURL=user-config.d.ts.map