import { EngineOptions, PlaceholderValues, ScaffoldError } from "./outfitter-crxe5gth.js"; import { Result } from "@outfitter/contracts"; /** * Get the directory containing scaffold preset files. * Delegates to `@outfitter/presets` which is the single source of truth. */ declare function getPresetsBaseDir(): string; declare function getOutputFilename(templateFilename: string): string; declare function isBinaryFile(filename: string): boolean; declare function replacePlaceholders(content: string, values: PlaceholderValues): string; declare function sortLeadingImports(filePath: string, content: string): string; declare function copyPresetFiles(presetDir: string, targetDir: string, values: PlaceholderValues, options: EngineOptions, copyOptions?: { readonly allowOverwrite?: boolean; readonly overwritablePaths?: ReadonlySet; readonly writtenPaths?: Set; readonly skipFilter?: (relativePath: string) => boolean; readonly relativePrefix?: string; }): Result; export { getPresetsBaseDir, getOutputFilename, isBinaryFile, replacePlaceholders, sortLeadingImports, copyPresetFiles };