/** * @packageDocumentation * Shared runtime-cleanup preset/config reference constants and type guards. */ import type { ArrayValues } from "type-fest"; /** Canonical flat-config preset keys exposed through `plugin.configs`. */ export declare const runtimeCleanupConfigNames: readonly ["all", "experimental", "minimal", "recommended", "recommended-type-checked", "strict"]; /** Metadata contract shared across preset wiring, docs, and README rendering. */ export type RuntimeCleanupConfigMetadata = Readonly<{ icon: string; presetName: `runtime-cleanup:${RuntimeCleanupConfigName}`; readmeOrder: number; requiresTypeChecking: boolean; }>; /** Canonical flat-config preset key type exposed through `plugin.configs`. */ export type RuntimeCleanupConfigName = ArrayValues; /** * Canonical metadata for every exported `runtime-cleanup` preset key. */ export declare const runtimeCleanupConfigMetadataByName: Readonly>; /** Stable README legend/rendering order for preset icons. */ export declare const runtimeCleanupConfigNamesByReadmeOrder: readonly RuntimeCleanupConfigName[]; /** Metadata references supported in rule `meta.docs.runtimeCleanupConfigs`. */ export declare const runtimeCleanupConfigReferenceToName: Readonly<{ "runtime-cleanup.configs.all": "all"; "runtime-cleanup.configs.experimental": "experimental"; "runtime-cleanup.configs.minimal": "minimal"; "runtime-cleanup.configs.recommended": "recommended"; "runtime-cleanup.configs.recommended-type-checked": "recommended-type-checked"; "runtime-cleanup.configs.strict": "strict"; 'runtime-cleanup.configs["recommended-type-checked"]': "recommended-type-checked"; }>; /** Fully-qualified preset reference type accepted in rule docs metadata. */ export type RuntimeCleanupConfigReference = keyof typeof runtimeCleanupConfigReferenceToName; /** * Check whether a string is a supported rule docs preset reference. */ export declare const isRuntimeCleanupConfigReference: (value: string) => value is RuntimeCleanupConfigReference; //# sourceMappingURL=runtime-cleanup-config-references.d.ts.map