import type { Rule } from 'eslint'; import { type SupportedNameChecker } from '../is-supported-import'; type RuleModule = Rule.RuleModule; /** * Creates a new ESLint rule for banning exporting certain function calls, e.g. * `css` and `keyframes`. * * Copied from the `utils/create-no-exported-rule/` folder in @compiled/eslint-plugin. * * Requires an importSources option defined on the rule, which is used to define additional * packages which should be checked as part of this rule. * * @param isUsage A function that checks whether the current node matches the desired * function call to check. * @param messageId The ESLint error message to use for lint violations. * @returns An eslint rule. */ export declare const createNoExportedRule: (isUsage: readonly SupportedNameChecker[], messageId: string) => RuleModule["create"]; export {};