/**
 * Classify a `<script>` tag as signals, client, or server.
 *
 * Classification rules (in priority order):
 * 1. Explicit `server` attribute → server
 * 2. Uses signals API (state, derived, effect, etc.) → signals
 * 3. Has `client` attribute, `type="module"`, or `src=` → client
 * 4. Everything else → server (executed at build time for variable extraction)
 */
export declare function classifyScript(attrs: string, content: string, fullTag: string): ScriptClassification;
/**
 * Classify all `<script>` tags in a template.
 *
 * Returns arrays of scripts grouped by type.
 */
export declare function classifyAllScripts(content: string): {
  signals: ScriptClassification[]
  client: ScriptClassification[]
  server: ScriptClassification[]
};
export declare interface ScriptClassification {
  type: ScriptType
  fullTag: string
  content: string
  attrs: string
}
/**
 * Script Classification
 *
 * Single source of truth for classifying `<script>` tags in `.stx` files.
 * Used by bun-plugin, dev-server, and process.ts to ensure consistent behavior.
 *
 * @module script-classifier
 */
export type ScriptType = 'signals' | 'client' | 'server';
