//#region src/services/init/index.d.ts /** The global seed files are processed in this fixed order. */ declare const GLOBAL_DOOM_SEED_FILES: readonly ['config.yaml', 'modes.yaml', 'domains.yaml', 'profiles.yaml']; type DoomSeedFile = (typeof GLOBAL_DOOM_SEED_FILES)[number]; /** Portable defaults for a new global Doom configuration directory. */ declare const DOOM_CONFIG_TEMPLATES: Readonly>; /** Standalone defaults for a repository that is trying DoomPi through DPI. */ declare const REPOSITORY_DOOM_CONFIG_TEMPLATES: Readonly>; /** Result of filling a Doom seed directory. File arrays contain names in seed order. */ interface GlobalDoomInitResult { directory: string; created: string[]; preserved: string[]; /** Existing files overwritten from the template. Only ever non-empty under `force`. */ replaced: string[]; } interface GlobalDoomInitOptions { /** * Overwrite existing seed files instead of preserving them. * * Off by default: init is safe to re-run, and hand-edited config is the * normal case rather than the exception. */ force?: boolean; } type RepositoryDoomInitOptions = GlobalDoomInitOptions; type RepositoryDoomInitResult = GlobalDoomInitResult; /** * Fills missing global seed files. * * Existing files are left alone so that re-running init never discards * hand-edited config; pass `force` to overwrite them from the template. */ declare function initializeGlobalDoomConfig(homeDirectory?: string, options?: GlobalDoomInitOptions): GlobalDoomInitResult; /** Seeds repository-local configuration without creating or changing Pi settings. */ declare function initializeRepositoryDoomConfig(repositoryRoot?: string, options?: RepositoryDoomInitOptions): RepositoryDoomInitResult; //#endregion export { REPOSITORY_DOOM_CONFIG_TEMPLATES as a, initializeGlobalDoomConfig as c, GlobalDoomInitResult as i, initializeRepositoryDoomConfig as l, GLOBAL_DOOM_SEED_FILES as n, RepositoryDoomInitOptions as o, GlobalDoomInitOptions as r, RepositoryDoomInitResult as s, DOOM_CONFIG_TEMPLATES as t }; //# sourceMappingURL=index-wy5ZnHCJ.d.mts.map