import React from 'react';
import type { ViewSection, FieldMetadataInput, FieldMetadataChange, FieldActionComponents } from '../../hazo_collab_form_view/types.js';
export interface KeyInfoDrawerProps {
    sections: ViewSection[] | undefined;
    form_data: Record<string, unknown>;
    on_form_data_change?: (data: Record<string, unknown>) => void;
    field_metadata?: Record<string, FieldMetadataInput>;
    on_metadata_change?: (change: FieldMetadataChange) => void;
    show_confirm_action?: boolean;
    title?: React.ReactNode;
    /**
     * Explicit `aria-label` for the toggle button.
     * Falls back to `title` when it is a plain string, then to `'Key information'`.
     */
    aria_label?: string;
    /**
     * Which side of the button row the expand/collapse chevron appears on.
     * @default 'right'
     */
    chevron_position?: 'left' | 'right';
    default_expanded?: boolean;
    /** Per-field action slots forwarded to the embedded HazoCollabFormView. */
    field_action_components?: FieldActionComponents;
    /** Convenience flag — turns on the built-in FieldAudit feature. */
    enable_field_audit?: boolean;
    /** Idle window (ms) before audit watcher records — see HazoCollabFormView. */
    audit_debounce_ms?: number;
    /**
     * Number of fields per row inside the embedded HazoCollabFormView.
     * Defaults to 1 (single-column). Pass 2 or 3 for denser layouts.
     * Textarea / data table fields always span the full row regardless.
     */
    field_columns?: 1 | 2 | 3;
    /**
     * Forwarded to the embedded HazoCollabFormView. When true, required fields
     * that are empty or have a validation error show a light pink background.
     */
    highlight_empty_required?: boolean;
    /**
     * Forwarded to the embedded HazoCollabFormView.
     * When true, EditSection renders without border/rounded-lg/bg-card/shadow-sm.
     */
    disable_section_card?: boolean;
    /**
     * Forwarded to the embedded HazoCollabFormView.
     * When true, the section title bar is hidden inside EditSection.
     */
    hide_section_header?: boolean;
}
export interface KeyInfoDrawerRef {
    confirm_all_prefilled(): string[];
}
export declare const KeyInfoDrawer: React.ForwardRefExoticComponent<KeyInfoDrawerProps & React.RefAttributes<KeyInfoDrawerRef>>;
//# sourceMappingURL=key_info_drawer.d.ts.map