/** * @packageDocumentation * Public plugin entrypoint for `stylelint-plugin-font` exports and * shareable config wiring. */ import type { Config, Plugin as StylelintPlugin } from "stylelint"; import type { StylelintPluginRuleContract } from "./_internal/create-stylelint-rule.js"; import { type FontConfigName as InternalFontConfigName, PLUGIN_NAMESPACE as pluginNamespaceValue } from "./_internal/plugin-constants.js"; import { fontRules as fontRulesValue } from "./_internal/rules-registry.js"; /** Public shareable config map exported by this package. */ export type FontConfigMap = Record; /** Shareable config names exposed by this package. */ export type FontConfigName = InternalFontConfigName; /** Public fully-qualified rule ids supported by this package. */ export type FontRuleId = `${typeof pluginNamespaceValue}/${string}`; /** Public unqualified rule names supported by this package. */ export type FontRuleName = Extract; /** Shareable config shape exported by this package. */ export type FontShareableConfig = Config & { plugins: (string | StylelintPlugin)[]; rules: NonNullable; }; /** Internal runtime rule registry shape. */ type FontRulesMap = Readonly>; /** Public package metadata exported alongside the plugin pack. */ export declare const meta: Readonly<{ name: string; namespace: string; version: string; }>; /** Public rule registry keyed by unqualified rule name. */ export declare const rules: FontRulesMap; /** Stable ordered unqualified rule names. */ export declare const ruleNames: readonly string[]; /** Default plugin-pack export consumed by Stylelint. */ export declare const plugins: readonly StylelintPlugin[]; /** Stable ordered fully qualified rule ids. */ export declare const ruleIds: readonly FontRuleId[]; /** Shareable config exports exposed by the package. */ export declare const fontPluginConfigs: FontConfigMap; /** Stable ordered shareable config names. */ export declare const configNames: readonly FontConfigName[]; /** Default export consumed by Stylelint when the package is used as a plugin. */ export default plugins; //# sourceMappingURL=plugin.d.ts.map