/** * Style presets — persistent user prefs about voice, format, defaults. * * Different from skills: * - Skills are read on-demand via `read_skill` ("when X happens, do Y"). * - Styles are ALWAYS-ON. Their content folds into the system prompt as a * "Active style" section so every reply respects the user's standing prefs. * * Layout (last wins on name collisions): * /.gg/editor-styles/*.md (project) * ~/.gg/editor-styles/*.md (user) * * Project overrides user — opposite of skills (where user overrides project). * The reasoning: a project's checked-in style is the one the team agreed on; * a user's home preset is a default that defers to project conventions. */ export interface StyleSource { name: string; content: string; origin: "project" | "user"; path: string; } export interface DiscoverStylesOptions { cwd: string; homeDir?: string; } export declare function discoverStyles(opts: DiscoverStylesOptions): StyleSource[]; /** * Render the active styles as a single markdown block to be embedded in the * system prompt. Returns "" when no styles are active. */ export declare function renderStylesBlock(styles: StyleSource[]): string; //# sourceMappingURL=styles-loader.d.ts.map