import { type PlaceholderMap } from './placeholder';
/**
 * Compile a single .stx template file.
 *
 * Runs the full processDirectives pipeline in build mode ('compile'),
 * producing pre-rendered HTML with placeholder tokens for dynamic content.
 *
 * @param filePath - Absolute path to the .stx file
 * @param route - The URL route this page serves (e.g. '/jobs')
 * @param options - Additional compilation options
 */
export declare function compileTemplate(filePath: string, route: string, options?: {
    componentsDir?: string
    partialsDir?: string
    layoutsDir?: string
    debug?: boolean
  }): Promise<CompiledTemplate>;
/**
 * A pre-compiled template ready for serve-time hydration.
 */
export declare interface CompiledTemplate {
  route: string
  sourceFile: string
  html: string
  fragment: string
  placeholders: PlaceholderMap
  hasServerScripts: boolean
  serverScriptContent: string[]
  dependencies: string[]
  contentHash: string
}
