import { type DataSourcePluginOptionsEditorProps } from '@grafana/data'; import { type SQLOptions } from '../../types'; /** * 1. Moves the database field from the options object to jsonData.database and empties the database field. * 2. If max open connections, max idle connections, and auto idle are all undefined set these to default values. */ export declare function useMigrateDatabaseFields({ onOptionsChange, options, }: DataSourcePluginOptionsEditorProps): void;