import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
import type { Color, TextFieldTypes, StyleEventDetail, InputChangeEventDetail, AutocompleteTypes } from '../../interface';
export declare class GascoInput implements ComponentInterface {
  private nativeInput?;
  private isComposing;
  private inheritedAttributes;
  private inputId;
  fireFocusEvents: boolean;
  hasFocus: boolean;
  el: HTMLGascoInputElement;
  /**
   * The color to use from your application's color palette.
   * Default options are: `primary`, `secondary`, `tertiary`, `success`, `warning`, `danger`, `light`, and `dark`.
   */
  color?: Color;
  /**
   * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
   * Available options: `off`, `none`, `on`, `sentences`, `words`, `characters`.
   */
  autocapitalize: string;
  /**
   * Indicates whther the value of the control can be automatically completed by the browser.
   */
  autocomplete: AutocompleteTypes;
  /**
   * Whether auto correction should be enabled when the user is entering/editind the text value.
   */
  autocorrect: 'on' | 'off';
  /**
   * This Boolean attributes lets you specify that a from control should have input focus when the page loads.
   */
  autofocus: boolean;
  /**
   * If `true`, the user cannot interact with the input.
   */
  disabled: boolean;
  /**
   * Instructional text that show before the input has a value.
   * This property applies only whe the `type` property is set to `email`, `number`, `password`, `tel`, `text`, or `url`, otherwise it is ignored.
   */
  placeholder?: string;
  /**
   * The Input size.
   */
  size?: 'small' | 'default' | 'large';
  /**
   * Instructional text that show before the input has a value.
   * The Input label.
   */
  label?: string | undefined;
  /**
   * Instructional text that show before the input has a value.
   * The Input text help.
   */
  textHelp?: string;
  /**
   * Instructional text that show before the input has a value.
   * The Input text help.
   */
  limit?: boolean;
  /**
   * Instructional text that show before the input has a value.
   * The Input numeric for flat country.
   */
  indicator?: boolean;
  /**
   * The type of control to display. The default type is `text`.
   */
  type: TextFieldTypes;
  /**
   * The value of the input.
   */
  value?: string | number | null;
  /**
   * A hint to the browser for which keyboard to display.
   * Possible values: `none`, `text`, `tel`, `url`, `email, `numeric`, `decimal`, `search`.
   */
  inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
  /**
   * If `true`, the user cannot modify the value.
   */
  readonly: boolean;
  /**
   * If `true`, the user must fill in a value before submitting a form.
   */
  required: boolean;
  /**
   * The maximum value, which must not be less than its minimum (min attribute) value.
   */
  max?: string | number;
  /**
    * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.
    */
  maxlength?: number;
  /**
    * The minimum value, which must not be greater than its maximum (max attribute) value.
    */
  min?: string | number;
  /**
    * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.
    */
  minlength?: number;
  /**
   * If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `email`, otherwise it is ignored.
   */
  multiple?: boolean;
  /**
    * The name of the control, which is submitted with the form data.
    */
  name: string;
  /**
    * A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `text`, `search`, `tel`, `url`, `email`, `"date"`, or `password`, otherwise it is ignored. When the type attribute is `date`, `pattern` will only be used in browsers that do not support the `date` input type natively.
    */
  pattern?: string;
  /**
   * If `true`, the element will have its spelling and grammar checked.
   */
  spellcheck: boolean;
  /**
    * Works with the min and max attributes to limit the increments at which a value can be set.
    * Possible values are: `any` or a positive floating point number.
    */
  step?: string;
  protected disabledChanged(): void;
  /**
   * Update the item classes when the placeholder changes
   */
  protected placeholderChanged(): void;
  /**
    * Update the native input element when the value changes
    */
  protected valueChanged(): void;
  /**
   * Emitted when a keyboard input occurred.
   */
  gascoInput: EventEmitter<InputEvent>;
  /**
   * Emitted when the value has changed.
   */
  gascoChange: EventEmitter<InputChangeEventDetail>;
  /**
   * Emitted when the input loses focus.
   */
  gascoBlur: EventEmitter<FocusEvent>;
  /**
   * Emitted when the input has focus.
   */
  gascoFocus: EventEmitter<FocusEvent>;
  /**
   * Emitted when the styles change.
   * @internal
   */
  gascoStyle: EventEmitter<StyleEventDetail>;
  /**
   * Sets focus on the native `input` in `gasco-input`. Use this method instead of the global
   * `input.focus()`.
   */
  setFocus(): Promise<void>;
  /**
   * Sets blur on the native `input` in `gasco-input`. Use this method instead of the global
   * `input.blur()`.
   * @internal
   */
  setBlur(): Promise<void>;
  /**
  * Returns the native `<input>` element used under the hood.
  */
  getInputElement(): Promise<HTMLInputElement>;
  private getValue;
  private onComposition;
  private emitStyle;
  private onInput;
  private onBlur;
  private hasValue;
  private onFocus;
  componentWillLoad(): void;
  connectedCallback(): void;
  componentDidLoad(): void;
  disconnectedCallback(): void;
  render(): any;
}
