/**
 * Library search component for selecting pre-defined fields from the field library
 * Renders inline inside a dialog tab panel (not as a popover)
 */
import React from 'react';
import type { PendingFieldEntry } from '../types.js';
export interface LibrarySearchProps {
    /**
     * API base URL for fetching library elements
     */
    api_base_url?: string;
    /**
     * Database table name
     */
    table_name?: string;
    /**
     * Scope ID for filtering
     */
    scope_id?: string | null;
    /**
     * Filter mode: 'fields_only' excludes groups, 'both' includes fields and groups
     * @default 'both'
     */
    filter_mode?: 'fields_only' | 'both';
    /**
     * Callback when a library element is selected
     */
    on_select: (entry: PendingFieldEntry) => void;
}
/**
 * LibrarySearch - Inline searchable list for selecting library elements
 */
export declare function LibrarySearch({ api_base_url, table_name, scope_id, filter_mode, on_select, }: LibrarySearchProps): React.ReactElement;
//# sourceMappingURL=library_search.d.ts.map