import { AutoCodeInspection, ExtensionPack, ReviewListenerRegistration } from "@atomist/sdm"; export declare const DefaultPathToScan = "src/main/java"; export declare const DefaultChecksFile = "/sun_checks.xml"; export interface CheckstyleOptions { /** * Set to false to disable Checkstyle */ enabled?: boolean; /** * Path to the checkstyle binary */ checkstylePath: string; reviewOnlyChangedFiles?: boolean; inspectGoal?: AutoCodeInspection; /** * Review listeners that let you publish review results. */ reviewListeners?: ReviewListenerRegistration | ReviewListenerRegistration[]; /** * Path to look for Java files in. Defaults to src/main/java */ pathToScan?: string; /** * Checkstyle checks to use. * Defaults to /sun_checks.xml if not specified. */ checksFile?: string; } /** * Create an instance of the the Checkstyle extension pack. * @param {CheckstyleOptions} options * @return {ExtensionPack} */ export declare function checkstyleSupport(options: CheckstyleOptions): ExtensionPack;