/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { StepOption } from "./model/slots.js"; import type { StepKind } from "./steps/values.js"; import { type PartActions, type PartStyles } from "./parts.js"; /** Props of {@link QueryFoot}. */ export interface QueryFootProps { /** The Quick add buttons, each saying whether its step fits. */ readonly options: readonly StepOption[]; /** The parts' styles, and the words. */ readonly ps: PartStyles; /** What "Add a step at the end" asks: the add-step list, hanging from it. */ readonly onSlot: PartActions["onSlot"]; /** A Quick add button pressed: its step, added at the end. */ readonly onQuick: (kind: StepKind) => void; } /** * Renders the foot — see the module docs. * * @param props - The Quick add buttons, and what the foot asks ({@link QueryFootProps}) * @returns The foot */ export declare const QueryFoot: import("react").MemoExoticComponent<({ options, ps, onSlot, onQuick }: QueryFootProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=foot.d.ts.map