export interface RenderContext { data: Record; helpers: ClayHelpers; model: Record; parent?: Record; fileTarget?: string; } export declare function toRenderContext(data: Record, helpers: ClayHelpers): RenderContext; export interface ClayHelpers { pascalCase: (str: string) => string; camelCase: (str: string) => string; kebabCase: (str: string) => string; snakeCase: (str: string) => string; upperCase: (str: string) => string; lowerCase: (str: string) => string; capitalize: (str: string) => string; startCase: (str: string) => string; pluralize: (str: string) => string; singularize: (str: string) => string; eq: (v1: any, v2: any) => boolean; ne: (v1: any, v2: any) => boolean; lt: (v1: any, v2: any) => boolean; gt: (v1: any, v2: any) => boolean; lte: (v1: any, v2: any) => boolean; gte: (v1: any, v2: any) => boolean; inc: (value: number) => number; json: (context: any) => string; includes: (str: string, search: string) => boolean; startsWith: (str: string, search: string) => boolean; endsWith: (str: string, search: string) => boolean; parseInt: (str: string) => number; pad: (str: string, length: number) => string; repeat: (str: string, n: number) => string; replace: (str: string, search: string, replacement: string) => string; truncate: (str: string, length: number) => string; split: (str: string, delimiter: string) => string[]; words: (str: string) => string[]; splitAndUseWord: (str: string, delimiter: string, index: number) => string; markdown: (value: string) => string; [key: string]: (...args: any[]) => any; } export declare abstract class CodeGenerator { abstract render(context: RenderContext): string | Promise; } export interface HookContext { data: Record; helpers: ClayHelpers; model: Record; parent?: Record; touchFiles: string[]; outputDir: string; generatedFiles: string[]; } export declare abstract class PostGenerateHook { abstract run(context: HookContext): void | Promise; } export interface PreCheckContext { data: Record; helpers: ClayHelpers; model: Record; parent?: Record; } export declare abstract class PreCheck { abstract check(context: PreCheckContext): string[] | void | Promise; } //# sourceMappingURL=code-generator.d.ts.map