export declare const PROJECT_UI_CONFIG_REL = ".claude/config/project-ui.json"; export declare const DESIGN_SYSTEM_SKILL_REL = ".claude/skills/design-system/SKILL.md"; export declare const GROK_DESIGN_SYSTEM_REL = ".grok/skills/design-system/SKILL.md"; export interface ProjectUiFile { prelineMoon: boolean; designSystem: boolean; sources: string[]; } export interface PrelineDetection { used: boolean; evidence: string[]; } export declare function globalPrelineCorpusDir(): string; export declare function hasGlobalPrelineCorpus(): boolean; export declare function hasFrontendLayout(projectDir: string, frontend?: string): boolean; /** True when a frontend project is missing the protected design-system skill. */ export declare function projectDesignSystemNeedsSeed(projectDir: string, frontend?: string): boolean; export declare function detectPreline(projectDir: string): PrelineDetection; export declare function findExistingDesignSources(projectDir: string): string[]; export declare function readProjectUiFile(projectDir: string): ProjectUiFile | null; export declare function writeProjectUiFile(projectDir: string, data: ProjectUiFile): void; export declare function isNativeUi(frontend?: string): boolean; /** True when this project should get the Preline pointer (not the 100 MB dump). */ export declare function wantsPrelineMoon(projectDir: string, configPrelineMoon?: boolean, frontend?: string): boolean; export declare function mirrorDesignSystemToGrok(projectDir: string): boolean; export declare function ensureProjectDesignSystem(projectDir: string, opts?: { frontend?: string; projectName?: string; prelineMoon?: boolean; }): { seeded: boolean; mirrored: boolean; sources: string[]; }; export declare function ensurePrelinePointer(projectDir: string, opts?: { prelineMoon?: boolean; }): { written: boolean; skipped: string | null; }; export declare function ensureProjectUi(projectDir: string, opts?: { frontend?: string; projectName?: string; prelineMoon?: boolean; }): { designSystem: { seeded: boolean; mirrored: boolean; sources: string[]; }; preline: { written: boolean; skipped: string | null; }; };