import type { BaseStylePreset, ExtendedStylePreset, StylePresetName } from './interface'; type AnyPreset = BaseStylePreset | ExtendedStylePreset; /** * Register a style preset. If a preset with the same name * already exists, it will be overwritten (useful for extending * a base preset with component overrides). */ export declare function registerPreset(preset: AnyPreset): void; /** * Register multiple presets at once. */ export declare function registerPresets(presets: AnyPreset[]): void; /** * Retrieve a registered preset by name. * Returns `undefined` if not found. */ export declare function getPreset(name: StylePresetName): AnyPreset | undefined; /** * Get all registered presets as an array. */ export declare function getAllPresets(): AnyPreset[]; /** * Check whether a preset with the given name is registered. */ export declare function hasPreset(name: StylePresetName): boolean; /** * Remove a registered preset. Returns `true` if the preset existed. */ export declare function unregisterPreset(name: StylePresetName): boolean; export {};