import { RuntimeModelField } from '@oinone/kunlun-engine';
import { BaseFieldProps, BaseFieldWidget } from '../token';
/**
 * 单字段通用组件
 */
export declare class FormFieldWidget<Value = unknown, Field extends RuntimeModelField = RuntimeModelField, Props extends BaseFieldProps<Field> = BaseFieldProps<Field>> extends BaseFieldWidget<Value, Field, Props> {
    protected compute(): Value | null | undefined;
    protected getCompute(contextData: any): string | undefined;
    protected get allowClear(): any;
    protected get placeholder(): string | string[] | undefined;
    protected get emptyStyle(): any;
    protected updateValue(val: Value | null | undefined): void;
    protected updateRelatedValue(relatedFields: string[], val: Value | null | undefined): void;
}
