import { QLineEdit, EchoMode, QWidget, QLineEditSignals } from "@nodegui/nodegui";
import { ViewProps } from "../View/RNView";
import { RNWidget } from "../config";
/**
* The LineEdit component provides ability to add and manipulate native editable text field widgets. It is based on
* [NodeGui's QLineEdit](https://docs.nodegui.org/docs/api/generated/classes/qlineedit).
* ## Example
* ```javascript
* import React from "react";
* import { Renderer, LineEdit, Window } from "@nodegui/react-nodegui";
* const App = () => {
* const handleTextChanged = textValue => {
* console.log(textValue);
* };
* return (
*
*
*
* );
* };
* Renderer.render();
*
* ```
*/
export interface LineEditProps extends ViewProps {
text?: string;
placeholderText?: string;
readOnly?: boolean;
echoMode?: EchoMode;
}
/**
* @ignore
*/
export declare class RNLineEdit extends QLineEdit implements RNWidget {
setProps(newProps: LineEditProps, oldProps: LineEditProps): void;
appendInitialChild(child: QWidget): void;
appendChild(child: QWidget): void;
insertBefore(child: QWidget, beforeChild: QWidget): void;
removeChild(child: QWidget): void;
static tagName: string;
}