import { UserPromptConfig } from "./prompt.js"; import { AsyncRule, Rule, RuleConfigQuality, RulesConfig, SyncRule } from "./rules.js"; export type PluginRecords = Record; export interface Plugin { rules: { [ruleName: string]: Rule | AsyncRule | SyncRule; }; } export interface LoadOptions { cwd?: string; file?: string; } export interface UserConfig { extends?: string | string[]; formatter?: string; rules?: Partial; parserPreset?: string | ParserPreset | Promise; ignores?: ((commit: string) => boolean)[]; defaultIgnores?: boolean; plugins?: (string | Plugin)[]; helpUrl?: string; prompt?: UserPromptConfig; [key: string]: unknown; } export type QualifiedRules = Partial>; export interface QualifiedConfig { extends: string[]; formatter: string; rules: QualifiedRules; parserPreset?: ParserPreset; ignores?: ((commit: string) => boolean)[]; defaultIgnores?: boolean; plugins: PluginRecords; helpUrl: string; prompt: UserPromptConfig; } export interface ParserPreset { name?: string; path?: string; parserOpts?: unknown; parser?: unknown; } //# sourceMappingURL=load.d.ts.map