import type { BasePreset } from '@wordpress/global-styles-engine';
/**
 * Read + mutate the preset array stored at `${settingsPath}.${origin}`.
 *
 * `presets` reflects the merged (user-edited) value; `basePresets` is read
 * explicitly from the theme base, used to compare against or reset to the
 * theme-provided values.
 *
 * @param settingsPath Origin-keyed base path, e.g. 'shadow.presets'.
 * @param origin       'default' | 'theme' | 'custom'.
 */
export declare function usePresets<T extends BasePreset>(settingsPath: string, origin: string): {
    presets: any[];
    basePresets: any[];
    setPresets: (newValue: T[] | undefined) => void;
};
//# sourceMappingURL=use-presets.d.ts.map