@stacksjs/stx
Version:
A Bun plugin that allows for using Laravel Blade-like syntax.
11 lines (10 loc) • 1.05 kB
TypeScript
import type { StxOptions } from './types';
export declare function processDirectives(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
declare function processOtherDirectives(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
declare function processComponentDirectives(template: string, context: Record<string, any>, filePath: string, componentsDir: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
declare let props: {};
declare const propsFn: unknown;
declare const processedContent: unknown;
declare function processCustomElements(template: string, context: Record<string, any>, filePath: string, componentsDir: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
export declare function processJsonDirective(template: string, context: Record<string, any>): string;
export declare function processOnceDirective(template: string): string;