/** * File Conventions Service * * Pure functions for matching files against conventions and extracting keywords. * No I/O operations - all functions operate on file paths. * * Categories: * - Entry Points: index.ts, main.ts, App.tsx, etc. * - Configuration: tsconfig.json, .prettierrc, package.json, etc. * - Frameworks: Next.js, Convex, and other framework-specific patterns * - Type Definitions: *.d.ts, *.types.ts * * Extensibility: * - Add new conventions to entryPoints.ts or configFiles.ts * - Add new frameworks in the frameworks/ directory */ import type { FileConvention, ConventionMatch } from "../../entities/conventions"; export type { FileConvention, ConventionCategory, ConventionMatch, FrameworkConventions, } from "../../entities/conventions"; /** * Get all conventions including built-in ones. */ export declare function getConventions(): FileConvention[]; /** * Match a filepath against all conventions and return keywords. * * @param filepath - The file path (relative to project root) * @returns Array of keywords from all matching conventions */ export declare function getConventionKeywords(filepath: string): string[]; /** * Match a filepath against all conventions and return detailed matches. * * @param filepath - The file path (relative to project root) * @returns Array of convention matches with details */ export declare function matchConventions(filepath: string): ConventionMatch[]; export { entryPointConventions } from "./entryPoints"; export { configFileConventions } from "./configFiles"; export { frameworkProviders, getAllFrameworkConventions } from "./frameworks";