export interface IBasePlugin { el: E; options?: O; events?: {}; } declare class HSBasePlugin implements IBasePlugin { el: E; options: O; events?: any; constructor(el: E, options: O, events?: any); createCollection(collection: any[], element: any): void; fireEvent(evt: string, payload?: any): any; on(evt: string, cb: Function): void; } export interface ICollectionItem { id: string | number; element: T; } export interface ITogglePasswordOptions { target: string | string[] | HTMLInputElement | HTMLInputElement[]; } export interface ITogglePassword { options?: ITogglePasswordOptions; show(): void; hide(): void; } declare class HSTogglePassword extends HSBasePlugin implements ITogglePassword { private readonly target; private isShown; private isMultiple; private eventType; constructor(el: HTMLElement, options?: ITogglePasswordOptions); private init; private getMultipleToggles; show(): void; hide(): void; static getInstance(target: HTMLElement | string, isInstance?: boolean): HSTogglePassword | ICollectionItem; static autoInit(): void; } export { HSTogglePassword as default, }; export {};