/**
 * Options for the build safe patch function.
 */
interface ExcludeUnsafeRulesOptions {
    /**
     * Path to the rulesets directory.
     */
    dir: string;
    /**
     * Defines whether to prettify the rulesets JSON or not.
     * Not prettifying can save on JSON size.
     */
    prettifyJson?: boolean;
    /**
     * Optional limit for the number of unsafe rules to exclude.
     * If the number of unsafe rules exceeds this limit, an error will be thrown.
     */
    limit?: number;
}
/**
 * Excludes unsafe rules from rulesets and places them into the metadata rule.
 *
 * @param params Parameters for processing rulesets.
 * @param params.dir The directory containing the rulesets to process.
 * @param params.limit Optional limit for the maximum number of unsafe rules
 * to exclude.
 * @param params.prettifyJson Whether to prettify the JSON output.
 */
declare function excludeUnsafeRules(params: ExcludeUnsafeRulesOptions): Promise<void>;

export { excludeUnsafeRules };
