import { type ReactElement } from 'react';
interface SchemaDrivenInputProps {
    /** Raw JSON Schema string emitted by the action catalog (`action.inputSchemaJson`). */
    readonly schemaJson: string;
    /** Current value as a parsed object — `{}` is fine for an empty state. */
    readonly value: Record<string, unknown>;
    /** Callback fired on every field edit with the updated value. */
    readonly onChange: (next: Record<string, unknown>) => void;
    /** Disable all inputs (e.g. when the parent is read-only). */
    readonly disabled?: boolean;
    /** Optional id prefix to avoid collisions when multiple instances are on the page. */
    readonly idPrefix?: string;
}
/**
 * Renders a form for an action's input payload directly from the action's JSON Schema.
 *
 * Why not @rjsf/core: SmartStack action schemas are flat objects of primitives + the
 * occasional one-level nested object. A dedicated 200-line component yields a tighter
 * UX (Liquid-friendly text inputs, helper text from `description`) without dragging in
 * a 400 KB dependency tree.
 *
 * Fall-through behaviour: if the schema does not declare a top-level object with
 * `properties`, the component renders an "unsupported schema" banner so the parent can
 * surface the advanced JSON textarea instead.
 */
export declare function SchemaDrivenInput({ schemaJson, value, onChange, disabled, idPrefix }: SchemaDrivenInputProps): ReactElement;
export {};
//# sourceMappingURL=SchemaDrivenInput.d.ts.map