import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
import type { Color, StyleEventDetail, InputChangeEventDetail } from '../../interface';
export declare class GascoInputCode implements ComponentInterface {
  private isComposing;
  private arrayInput;
  private inheritedAttributes;
  private inputId;
  fireFocusEvents: boolean;
  hasFocus: boolean;
  el: HTMLElement;
  /**
   * We can make everything automatic after completing the code for default is false.
   */
  autosubmit: boolean;
  /**
   * The color to use from your application's color palette.
   * Default options are: `primary`, `secondary`, `tertiary`, `success`, `warning`, `danger`, `light`, and `dark`.
   */
  color?: Color;
  /**
   * 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;
  /**
   * The type of control to display. The default type is `text`.
   */
  type: 'text' | 'number';
  /**
   * The Input size.
   */
  size?: 'small' | 'default' | 'large';
  /**
   * The value of the input.
   */
  value?: string | number | null;
  /**
   * A hint to the browser for which keyboard to display.
   * Possible values: `none`, `text`.
   */
  inputmode?: 'none' | 'text';
  /**
   * If the value of the type attribute is `text` or `numeric`, this attribute specifies the maximum number of characters that the user can enter.
   * Defaulf `4`
   */
  maxlength?: number;
  /**
   * 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;
  /**
   * With secure what you are looking for is that the fields are not seen.
   * for default is true
   */
  secure: boolean;
  /**
   * A simple count for the loop input
   */
  count: number;
  protected disabledChanged(): void;
  gascoCodeDone: EventEmitter;
  /**
   * 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>;
  private onComposition;
  private getValue;
  private emitStyle;
  private handleInput;
  private onInput;
  private onBlur;
  private hasValue;
  private onFocus;
  componentWillLoad(): void;
  connectedCallback(): void;
  componentDidLoad(): void;
  disconnectedCallback(): void;
  render(): any;
}
