import type { EmptyObject } from '@ariestools/sdk'; import { AbstractControl } from './AbstractControl.js'; import type { SetOptions } from './accessor/index.js'; import type { CursorPosition, FormControl } from './FormControl.js'; /** * A base class for form controls and their validation. */ export declare abstract class FormControlBase extends AbstractControl implements FormControl { /** * The current and previous cursor position of the input element. */ cursorPosition: CursorPosition; invalidMessage: string; pattern: RegExp; patternStrict: RegExp; props: TProps; required: boolean; private _name; constructor(); get name(): string | undefined; get rawValue(): import('./index.js').ValidControlValue; blurError?(value: string): void | undefined; changeError?(value: string): void; getCursorPosition?(): number | undefined; mask?(value: string): string; onCursorChange: (cursor: number | undefined) => void; setValue(value: string | undefined, setOptions: SetOptions): void; unmask?(value: string): string; validate(): boolean; protected setName(name: string | undefined): void; } //# sourceMappingURL=FormControlBase.d.ts.map