import type { ManagedRequirementResolver, NamingConvention, SchemaDialect, SchemaSourcePlan, SchemaSyncDiagnostic } from '../../schema-engine/index.js'; export interface ProjectSchemaSyncFile { absolutePath: string; relativePath: string; plan: SchemaSourcePlan; } export interface ProjectSchemaSyncPlan { projectRoot: string; featuresDirectory: string; files: ReadonlyArray; diagnostics: ReadonlyArray; changedFiles: ReadonlyArray; canApply: boolean; } export interface PlanProjectSchemaSyncOptions { projectRoot: string; dialect?: SchemaDialect; namingConvention?: NamingConvention; auditFields?: boolean; resolveRequirements?: ManagedRequirementResolver; typescript?: typeof import('typescript'); } export interface ApplyProjectSchemaSyncResult { changedFiles: ReadonlyArray; } /** * Check every authored table file. The default resolver captures the currently * shipped audit/soft-delete contract; compile integration can supply the same * resolver seam with ID and inherited-scope facts. */ export declare function planProjectSchemaSync(options: PlanProjectSchemaSyncOptions): Promise; /** * Apply a previously calculated project plan. Every result is staged before * the first rename. Concurrent source changes abort the transaction; a rename * failure triggers best-effort rollback from the in-memory originals. */ export declare function applyProjectSchemaSync(projectPlan: ProjectSchemaSyncPlan): Promise; export declare function collectSchemaSourceFiles(featuresDirectory: string): Promise; export declare function renderProjectSchemaDiff(projectPlan: ProjectSchemaSyncPlan): string; export declare function renderSchemaDiagnostics(diagnostics: ReadonlyArray, projectRoot?: string): string; //# sourceMappingURL=index.d.ts.map