/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type GutterBounds } from "./gutter-width.js"; type Styles = Record>; /** Props of {@link GutterHandle}. */ export interface GutterHandleProps { /** The builder's recipe, its `gutterHandle` slot placing the rule. */ readonly styles: Styles; /** The gutter's width as the builder keeps it. */ readonly width: number; /** The widths it is held between. */ readonly bounds: GutterBounds; /** What a reader hears the separator as. */ readonly label: string; /** Writes a width where the builder's layout reads it, while a drag runs: never a render. */ readonly apply: (width: number) => void; /** Keeps a width: a drag's release, or a key's step. */ readonly commit: (width: number) => void; /** A drag began (`true`) or ended (`false`): what the builder hides while the rule moves. */ readonly dragging?: ((on: boolean) => void) | undefined; } /** * The gutter's right rule, as a separator a drag or a key moves — see the module docs. * * @param props - The recipe, the width, its bounds, the separator's name, and where a width goes * @returns The separator */ export declare function GutterHandle({ styles, width, bounds, label, apply, commit, dragging }: GutterHandleProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=gutter-handle.d.ts.map