import type { HelperDelegate, HelperOptions, Template, TemplateDelegate } from "handlebars"; export type { HelperDelegate, HelperOptions, Template, TemplateDelegate }; export type PromptRenderPhase = "pre-render" | "post-render"; export interface PromptFormatOptions { renderPhase?: PromptRenderPhase; replaceAsciiSymbols?: boolean; normalizeRfc2119?: boolean; } export declare function format(content: string, options?: PromptFormatOptions): string; export interface TemplateContext extends Record { args?: string[]; ARGUMENTS?: string; arguments?: string; } export declare function registerHelper(name: string, fn: HelperDelegate): void; export declare function registerPartial(name: string, fn: Template): void; export declare function compile(template: string): (context: TemplateContext) => string; export declare function render(template: string, context?: TemplateContext): string;