import { ElementRef, EventEmitter } from '@angular/core';
import { FormControl } from '@angular/forms';
import * as i0 from "@angular/core";
type InputType = 'number' | 'password' | 'text' | 'color' | 'price';
interface ErrorMassage {
type: string;
message: string;
pattern?: string;
}
export declare class CoreInputComponent {
inputType: InputType;
isDisable: boolean;
lastValue: string;
/**
* Type of the input field
* @param InputType - 'number' for numeric input, 'password' for password field, 'text' for text input, 'color' for color picker, 'price' for price formatting
* @example
*
*/
set type(value: InputType);
/**
* Enable wordify feature for Persian numbers
* @param boolean - true to show Persian word representation of numbers
* @example
*
*/
canShowWordifyFa: boolean;
/**
* Highlight background when input has value
* @param boolean - true to highlight background
* @example
*
*/
canHighlightBackground: boolean;
/**
* Maximum length of input value
* @param number - Maximum character count allowed
* @example
*
*/
maxLength: number;
/**
* Size of the input field
* @param string - CSS class for size customization
* @example
*
*/
size: string;
/**
* FormControl for form validation and value management
* @param FormControl - Angular FormControl instance
* @example
*
*/
inputFormControl: FormControl;
/**
* Disabled state of the input field
* @param boolean - true to disable the input field
* @example
*
*/
set disable(value: boolean);
/**
* Placeholder text for the input field
* @param string - Placeholder text to display
* @example
*
*/
placeholder: string;
/**
* Event emitted when input value changes
* @param EventEmitter - Emits the new value
* @example
*
*/
onChange: EventEmitter;
/**
* Event emitted when input loses focus
* @param EventEmitter - Emits the current value
* @example
*
*/
onBlurEmit: EventEmitter;
/**
* Custom error messages for validation
* @param ErrorMassage[] - Array of error message objects
* @example
*
*/
set errorMessages(value: ErrorMassage[]);
inputElement: ElementRef;
_errorMessages: ErrorMassage[];
ngOnInit(): void;
change(event: any): void;
setInputFocus(): void;
onPaste(event: any): void;
onBlur(): void;
onKeyPress(event: any): boolean;
formatPrice(event: any): void;
get errorMassage(): ErrorMassage | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
export {};