@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
10 lines • 389 B
TypeScript
import type { CustomDirective } from '../types';
/**
* Handler for @stxRouter directive
* Injects the SPA router script into the page
*/
export declare function stxRouterHandler(_content: string, params: string[], _context: Record<string, unknown>, _filePath: string): Promise<string>;
/**
* Custom directive for @stxRouter
*/
export declare const stxRouterDirective: CustomDirective;