@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
13 lines • 581 B
TypeScript
import type { StxOptions } from './types';
/**
* Process all template directives with enhanced error handling and performance monitoring
*/
export declare function processDirectives(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
/**
* Process @json directive to output JSON
*/
export declare function processJsonDirective(template: string, context: Record<string, any>): string;
/**
* Process @once directive blocks
*/
export declare function processOnceDirective(template: string): string;