/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { ReactNode } from "react"; /** * A compact label and optional span, styled by the shared move-ghost recipe part. Plain elements with the slots' classes, * which {@link useMoveGhostClasses} makes ahead of the drag that first draws one. */ export declare function MoveGhost({ label, detail, styles, planKind }: { label: string; detail?: ReactNode; styles: Record>; planKind?: string; }): import("react/jsx-runtime").JSX.Element; /** * Makes the classes of what a gesture draws while its views are drawn, ahead of the gesture that first draws them: a * rule first added as a drag starts has the browser work out the whole page's styles and lay it all out again * (`useSlotClass`). A class is made once for the theme, so a part drawn many times may ask for it each time. * * @param styles - A recipe's slots; `undefined` while there is nothing to draw with * @param slots - The slots whose classes to make: one the recipe does not have makes none */ export declare function useClassesAhead(styles: Record> | undefined, slots: readonly string[]): void; /** * Makes a move ghost's classes ahead of the drag that first draws one ({@link useClassesAhead}). * * @param styles - The slots the ghost is drawn with; `undefined` while there is nothing to draw with */ export declare function useMoveGhostClasses(styles: Record> | undefined): void; //# sourceMappingURL=move-ghost.d.ts.map