import type { ReactElement } from 'react'; import type { KaleidoscopeControls, KaleidoscopePresetBook } from '../../kaleidoscope.preset-book.types'; export type PresetControlPanelProps

= { readonly presets: P; /** The active preset id, or null when nothing is selected. */ readonly value: (keyof P & string) | null; /** Routed to the host, which applies it via `kaleidoscope(value, [patch])`. */ readonly onPatch: KaleidoscopeControls['onPatch']; /** * Per-layer uniform overrides (e.g. a persisted selection's stored patches) * merged over the preset's baked uniforms when the forms seed. Seed-time * only: the forms re-seed on a preset switch, not when this prop changes * mid-mount, so hosts restoring persisted patches should mount the panel * after hydration. */ readonly patches?: KaleidoscopeControls['uniforms']; readonly disabled?: boolean; }; export declare function PresetControlPanel

({ presets, value, onPatch, patches, disabled, }: PresetControlPanelProps

): ReactElement | null; //# sourceMappingURL=preset-control-panel.d.ts.map