import { Application } from 'express'; import { SynthOSConfig } from '../init'; import { ContextSection } from '../builders/types'; import { StorageProvider } from '../storage'; export type RouteInstaller = (config: SynthOSConfig, app: Application) => void; export declare class Customizer { protected disabled: Set; protected extraRoutes: RouteInstaller[]; /** Route hints for the LLM prompt (fork developers can add custom hints). */ protected routeHintEntries: { hints: string; }[]; /** Custom instructions appended to transformPage's instruction block. */ protected customTransformInstructions: string[]; /** Custom context sections appended to the builder's additional sections. */ protected customContextSections: ContextSection[]; private _storageProvider?; /** Storage provider for user-mutable data (pages, settings, themes, uploads). * Override in a derived class to swap the storage backend (e.g. Azure Blob). */ get storageProvider(): StorageProvider; /** Name of the local data folder created in the user's project directory. */ get localFolder(): string; /** Folders containing built-in system pages (builder, settings, etc.) */ get requiredPagesFolders(): string[]; /** Folders containing starter page templates copied on init */ get defaultPagesFolders(): string[]; /** Folders containing theme CSS/JSON files */ get defaultThemesFolders(): string[]; /** Folders containing versioned static files (page-v2.js, helpers-v2.js, etc.) */ get staticFilesFolders(): string[]; /** Folders containing connector JSON definitions */ get serviceConnectorsFolders(): string[]; /** Folders containing default scripts copied on init */ get defaultScriptsFolders(): string[]; /** Route path for the "browse all pages/tabs" listing page. * Override in a derived class to change the redirect target for outdated pages. */ get tabsListRoute(): string; /** Product name used in LLM prompts and branding strings. * Override in a derived class for white-labeling. */ get productName(): string; disable(...groups: string[]): this; enable(...groups: string[]): this; isEnabled(group: string): boolean; addRoutes(...installers: (RouteInstaller | { installer: RouteInstaller; hints: string; })[]): this; getExtraRoutes(): RouteInstaller[]; /** Add route hints that will be shown to the LLM in transformPage. */ addRouteHints(...hints: string[]): this; /** Get all custom route hints. */ getRouteHints(): string[]; /** Add custom instructions for the transformPage LLM prompt. */ addTransformInstructions(...instructions: string[]): this; /** Get custom transform instructions. */ getTransformInstructions(): string[]; /** Add custom context sections for the builder. */ addContextSections(...sections: ContextSection[]): this; /** Get custom context sections. */ getContextSections(): ContextSection[]; } //# sourceMappingURL=Customizer.d.ts.map