import type { CurvePoint, ImageHistogram } from '@pixerate/editor/image-editor'; interface Props { points: CurvePoint[]; /** `commit` is true for the first change of a gesture (one undo step), false for the drag moves. */ onchange: (points: CurvePoint[], commit: boolean) => void; histogram?: ImageHistogram | null; channel?: 'master' | 'red' | 'green' | 'blue'; size?: number; /** Extra classes on the root element. */ class?: string; } declare const CurvesEditor: import("svelte").Component; type CurvesEditor = ReturnType; export default CurvesEditor;