import * as React from 'react'; import { FieldProps } from '../Forms/Field'; export interface Props extends Omit { /** Saving request that will be triggered 600ms after changing the value */ onFinishChange: (inputValue: T) => Promise; /** Custom error message to display on saving */ saveErrorMessage?: string; /** Input that will save its value on change */ children: (onChange: (newValue: T) => void) => React.ReactElement>; } /** * Used for form inputs that should save its content automatically. * * https://developers.grafana.com/ui/latest/index.html?path=/docs/inputs-autosavefield--docs */ export declare function AutoSaveField(props: Props): import("react/jsx-runtime").JSX.Element; export declare namespace AutoSaveField { var displayName: string; }