export interface CheckCodeSyntaxOptions {
    repoRoot: string;
    file: string;
}
export interface CodeSyntaxDiagnostic {
    message: string;
    line?: number;
    column?: number;
    code?: string | number;
    source?: string;
    severity: 'error' | 'warning';
}
export type CheckCodeSyntaxResult = {
    status: 'checked';
    supported: true;
    valid: boolean;
    path: string;
    relativePath: string;
    language: string;
    diagnostics: CodeSyntaxDiagnostic[];
} | {
    status: 'unsupported';
    supported: false;
    valid?: undefined;
    path: string;
    relativePath: string;
    language: string;
    diagnostics: [];
} | {
    status: 'error';
    supported: false;
    valid: false;
    path?: string;
    relativePath?: string;
    language?: string;
    diagnostics: CodeSyntaxDiagnostic[];
    message: string;
};
export declare function checkCodeSyntax(options: CheckCodeSyntaxOptions): Promise<CheckCodeSyntaxResult>;
