import * as React from 'react'; import { EntityAttributeWithStaticUnitProps, EntityAttribute, EntityAttributeState } from './EntityAttribute'; /** * The default props for a float entity attribute */ export declare const FLOAT_ENTITY_ATTRIBUTE_WITH_UNIT_DEFAULT_PROPS: { validateValue: import("./commons").AttributeValueEvent; onFieldInputEnded: (component: EntityAttribute, input: string) => void; renderInput: (component: EntityAttribute) => JSX.Element; renderTitle: (component: EntityAttribute) => JSX.Element; toCurrentUnit: (value: any) => any; toStorageUnit: (value: number) => number; getter: (entity: import("@logilab/cwclientlibjs/build/providers").Entity, attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema) => any; disabled: boolean; isRequired: (attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema) => boolean; className: string; invalidClassName: string; onFieldChange: (component: EntityAttribute, event: React.FormEvent) => void; onFieldBlur: (component: EntityAttribute, event: React.FormEvent) => void; onFieldEditedValue: (component: EntityAttribute, value: any) => void; onSaveClicked: (component: EntityAttribute, value: any) => void; attributeHasBeenSaved: (_entity: import("@logilab/cwclientlibjs/build/providers").Entity, _attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema, _value: any) => void; attributeSavingError: (_entity: import("@logilab/cwclientlibjs/build/providers").Entity, _attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema, _value: any, _error: string) => void; renderSaveButton: (component: EntityAttribute) => JSX.Element; renderValidation: (component: EntityAttribute) => JSX.Element | null; render: (component: EntityAttribute) => JSX.Element; }; /** * Component for rendering a float entity attribute */ export declare class FloatEntityAttributeWithStaticUnit extends React.Component { static defaultProps: { validateValue: import("./commons").AttributeValueEvent; onFieldInputEnded: (component: EntityAttribute, input: string) => void; renderInput: (component: EntityAttribute) => JSX.Element; renderTitle: (component: EntityAttribute) => JSX.Element; toCurrentUnit: (value: any) => any; toStorageUnit: (value: number) => number; getter: (entity: import("@logilab/cwclientlibjs/build/providers").Entity, attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema) => any; disabled: boolean; isRequired: (attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema) => boolean; className: string; invalidClassName: string; onFieldChange: (component: EntityAttribute, event: React.FormEvent) => void; onFieldBlur: (component: EntityAttribute, event: React.FormEvent) => void; onFieldEditedValue: (component: EntityAttribute, value: any) => void; onSaveClicked: (component: EntityAttribute, value: any) => void; attributeHasBeenSaved: (_entity: import("@logilab/cwclientlibjs/build/providers").Entity, _attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema, _value: any) => void; attributeSavingError: (_entity: import("@logilab/cwclientlibjs/build/providers").Entity, _attribute: import("@logilab/cwclientlibjs/build/providers").EntityAttributeSchema, _value: any, _error: string) => void; renderSaveButton: (component: EntityAttribute) => JSX.Element; renderValidation: (component: EntityAttribute) => JSX.Element | null; render: (component: EntityAttribute) => JSX.Element; }; render(): JSX.Element; }