/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { GridSmartBoxHistoryProps } from './utilTypes';
export interface GridSmartBoxAIAssistantSearchProps {
/**
* Sets the settings for the history queries of all modes.
* When set to `true`, enables history with default settings for all modes.
* When set to `false`, disables history for all modes.
* When set to an object, configures the history settings for all modes.
* This shared setting overrides individual mode history settings (e.g., `searchConfig.history`).
*
* @example
* ```tsx
* // Enable history with default settings for all modes
*
*
* // Disable history for all modes
*
*
* // Configure history settings for all modes (overrides individual mode settings)
*
* ```
*/
history?: boolean | GridSmartBoxHistoryProps;
/**
* Sets the placeholder text for the SmartBox input.
*/
placeholder?: string;
/**
* Specifies whether the mode is enabled.
*/
enabled?: boolean;
/**
* Sets the delay in milliseconds before triggering search.
*/
delay?: number;
}
export interface GridSmartBoxSearchProps extends GridSmartBoxAIAssistantSearchProps {
fields?: Array;
}