import type { BuiltInCodeArtifact } from './built-in-block-code-artifacts.js'; import type { ScaffoldTemplateVariables } from './scaffold.js'; /** * Renders a non-TypeScript artifact and normalizes the output to a trailing newline. * * @param relativePath Relative output path for the generated artifact. * @param template Mustache template source to render. * @param view Template view data passed to the Mustache renderer. * @returns A built-in code artifact with normalized source text. */ export declare function renderArtifact(relativePath: string, template: string, view: Record): BuiltInCodeArtifact; /** * Builds a PHP entrypoint for a specific alternate render target. * * @param relativePath Relative output path for the generated PHP file. * @param target Alternate render target identifier to dispatch. * @param variables Scaffold template variables used to render the entrypoint. * @returns A built-in code artifact for the requested alternate render target. */ export declare function buildAlternateRenderEntryArtifact(relativePath: string, target: 'email' | 'mjml' | 'plain-text' | 'web', variables: ScaffoldTemplateVariables): BuiltInCodeArtifact; /** * Escapes a string for safe embedding in a PHP single-quoted literal. * * @param value Source string to escape. * @returns A PHP single-quoted string literal. */ export declare function toPhpSingleQuotedString(value: string): string;