import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
import { type InlineEditContextValue, type InlineEditSubmitMode } from './InlineEditContext';
export interface InlineEditControlProps extends Omit, 'children'> {
ref?: Ref;
/**
* Explicit render-time submit mode for this editor session. Highest
* precedence (beats editor registrations and the root prop) — the escape
* hatch for custom editors that cannot call useInlineEditSubmitMode.
*/
submitMode?: InlineEditSubmitMode;
/** Function children receive the inline-edit context (render-prop). */
children?: ReactNode | ((ctx: InlineEditContextValue) => ReactNode);
}
export declare const InlineEditControl: FC;