import type { BuildOptions, SiteConfig } from './types';
/**
 * Build a static stx site end-to-end:
 * 1. Bundle all pages with bun-plugin-stx
 * 2. Inject Crosswind CSS into each HTML file
 * 3. Replace stx default SEO tags with site-specific ones
 * 4. Drop the empty bundle chunks bun-plugin-stx leaves behind
 * 5. Copy public/ assets verbatim
 * 6. Synthesize 404.html (uses pages/404.stx if present, else clones index)
 * 7. Generate sitemap.xml and robots.txt
 */
export declare function buildStaticSite(options: BuildOptions): Promise<BuildResult>;
export declare function defineSiteConfig<T extends SiteConfig>(config: T): T;
export declare interface BuildResult {
  outDir: string
  pages: string[]
  durationMs: number
}
