import { LintOptions } from './types'; import { SupportOptions } from 'prettier'; /** * 读取 JSON 文件 * 如果异常返回 null * @param file JSON 路径,可以为绝对地址也可以为相对地址 * @returns */ export declare const readJson: (file: string) => any; /** * 读取配置文件 * * @param {Partial} [config={}] * @return {*} */ export declare const readConfig: (config?: Partial) => any; export declare const getRules: () => SupportOptions; export declare const getPluginOptions: (options: Record) => Partial;