import React from 'react'; import type { Nullable } from '../typings/Types.js'; import { FocusMode } from './FocusMode.js'; export interface ScrollOffset { top?: number; bottom?: number; } export interface ValidationSettings { focusMode: FocusMode; } export type ValidateArgumentType = boolean | ValidationSettings; export interface ValidationContainerProps { 'data-tid'?: string; children?: React.ReactNode; onValidationUpdated?: (isValid?: Nullable) => void; scrollOffset?: ScrollOffset; disableSmoothScroll?: boolean; } type DefaultProps = Required>; export declare class ValidationContainer extends React.Component { static __KONTUR_REACT_UI__: string; static displayName: string; static defaultProps: DefaultProps; private getProps; private childContext; submit(withoutFocus?: boolean): Promise; submit(validationSettings?: ValidationSettings): Promise; validate(withoutFocus?: boolean): Promise; validate(validationSettings?: ValidationSettings): Promise; render(): React.JSX.Element; private refChildContext; } export {};