import type { StxOptions } from './types';
/**
 * Inject @stacksjs/browser initialization script into the template.
 * This sets up window.StacksBrowser for auto-imports to work.
 *
 * IMPORTANT: Only checks CLIENT scripts (not <script server>).
 * Server scripts should use the server ORM directly, not browser functions.
 */
export declare function injectBrowserRuntime(template: string): string;
/**
 * Inject STX signals runtime into the template.
 * The runtime provides client-side reactivity.
 */
export declare function injectSignalsRuntime(template: string, options: StxOptions): Promise<string>;
/**
 * Inject the SPA router script into the template.
 * The router is provided by the canonical router in packages/router/src/client.ts.
 * It guards against double-initialization so it's safe to inject alongside @stxRouter.
 */
export declare function injectRouterScript(template: string, options?: StxOptions): Promise<string>;
