import { PrismaSchema } from '../Schema'; export interface LinterError { file_name: string; start: number; end: number; text: string; is_warning: boolean; } export default function lint(schema: PrismaSchema, onError?: (errorMessage: string) => void): LinterError[];