import type { FilterOptions } from '@solidstate/hardhat-solidstate-utils/types'; export type AbiExporterConfigEntry = { path: string; runOnCompile: boolean; clear: boolean; flat: boolean; spacing: number; pretty: boolean; filter: ( abiElement: any, index: number, abi: any, sourceName: string, contractName: string, ) => boolean; format: 'minimal' | 'full' | 'json' | 'typescript'; rename: (sourceName: string, contractName: string) => string; } & FilterOptions; export type AbiExporterUserConfigEntry = Partial; export type AbiExporterConfig = AbiExporterConfigEntry[]; export type AbiExporterUserConfig = | AbiExporterUserConfigEntry | AbiExporterUserConfigEntry[];