import { ruleCreator } from "./rule-creator.js";
/**
 * Rule factory options for import source pattern rules.
 */
interface CreateImportPatternRuleOptions {
    /**
     * Default disallow patterns applied when options do not override
     * `disallow`.
     */
    readonly defaultDisallowPatterns: readonly string[];
    /**
     * Human-friendly rule description.
     */
    readonly description: string;
    /**
     * Rule identifier used for metadata and exported rule map key.
     */
    readonly name: string;
}
type ImportPatternMessageIds = "disallowedSource";
/**
 * Rule options tuple for import pattern rules.
 */
type ImportPatternRuleOptions = readonly [
    {
        readonly allow?: readonly string[];
        readonly disallow?: readonly string[];
    }?
];
/**
 * Creates a rule that disallows import/export sources by glob pattern.
 *
 * @param options - Rule creation options.
 *
 * @returns ESLint rule module.
 */
export declare const createImportPatternRule: ({ defaultDisallowPatterns, description, name, }: Readonly<CreateImportPatternRuleOptions>) => ReturnType<typeof ruleCreator<ImportPatternRuleOptions, ImportPatternMessageIds>>;
export type { ImportPatternRuleOptions };
//# sourceMappingURL=create-import-pattern-rule.d.ts.map