/** * Returns the stable gsd-munch home directory path. * Mirrors upstream GSD's ~/.claude/get-shit-done/ pattern. */ declare function getGsdMunchHome(): string; /** * Returns the package root directory (one level above dist/). */ declare function getPkgRoot(): string; /** * Transforms file content by replacing all upstream GSD path references * with the gsd-munch equivalents. Three passes in order: * * 1. Replace bash-invoked gsd-tools path (shell expansion not available in @-refs) * 2. Replace any remaining get-shit-done path fragments (catches @-refs and absolute paths) * 3. Replace /gsd: command namespace with /gm: * 4. Replace name: gsd: frontmatter field with name: gm: * * CRITICAL: After transformation, output must not contain 'get-shit-done'. */ declare function transformContent(content: string, gsdMunchHome: string): string; /** * Recursively copies files from srcDir to destDir, applying transformer to each file's content. * Creates destDir if it doesn't exist. */ declare function deployDirectory(srcDir: string, destDir: string, transformer: (content: string) => string): Promise; /** * Deploys all GSD workflow assets to the gsd-munch home directory. * Deploys: workflows/, templates/, references/, bin/ directories + VERSION file. * All file content is transformed with path substitution before writing. * * @param gsdMunchHome Deployment target directory (defaults to ~/.claude/gsd-munch) */ declare function deployAssets(gsdMunchHome?: string): Promise; export { deployAssets, deployDirectory, getGsdMunchHome, getPkgRoot, transformContent };