import * as React from "react";
export type PlaceholderInputHandle = {
    submit: () => void;
};
/**
 * PlaceholderInput component for AI Agent quick actions.
 *
 * Allows users to fill in placeholders in text templates with tab navigation.
 *
 * Example usage for AI Agents:
 * ```json
 * {
 *   "label": "Create Component",
 *   "prompt": "Create a {{component_type}} component named {{component_name}}",
 *   "behavior": "submit"
 * }
 * ```
 *
 * Supported placeholder formats:
 * - Double curly braces: {{placeholder_name}} or {{0}}, {{1}}, {{2}}
 * - Double angle brackets: <<placeholder_name>> or <<0>>, <<1>>, <<2>>
 * - Typed placeholders: {{label|type|param=value}}
 *
 * Keyboard navigation:
 * - Tab: Move to next placeholder (wraps to first)
 * - Shift+Tab: Move to previous placeholder (wraps to last)
 * - Enter: Submit with filled values
 * - Escape: Cancel
 */
export type Placeholder = {
    name: string;
    type: string;
    parameters: Record<string, string>;
    index: number;
    startPos: number;
    endPos: number;
};
type PlaceholderInputProps = {
    text: string;
    onComplete: (filledText: string) => void;
    onCancel?: () => void;
    className?: string;
    showButtons?: boolean;
    buttonsClassName?: string;
    onFilledChange?: (allFilled: boolean) => void;
};
export declare const PlaceholderInput: React.ForwardRefExoticComponent<PlaceholderInputProps & React.RefAttributes<PlaceholderInputHandle>>;
export {};
