import React, { Component } from 'react'; import { KnobControlConfig, KnobControlProps } from './types'; type TextTypeKnobValue = string; export type TextTypeKnob = KnobControlConfig & { value?: TextTypeKnobValue; }; type TextTypeProps = KnobControlProps; export default class TextType extends Component { static defaultProps: TextTypeProps; static propTypes: { knob: React.Validator>; onChange: React.Validator<(value: string) => string>; }; static serialize: (value: TextTypeKnobValue) => string; static deserialize: (value: TextTypeKnobValue) => string; shouldComponentUpdate(nextProps: TextTypeProps): boolean; private handleChange; render(): React.JSX.Element; } export {};