import { HawkSearchComponents, VisualSearchFieldComponentConfig } from '../../../configuration'; import { SearchResponse, VisualSearchFieldComponentModel } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Visual Search component contains a file input element that allows users to search using images to find other similar images. It supports .jpg, .jpeg, .webp and .gif image formats. It supports max 4MB filesize. * * ## Tag * The tag for this component is ``. * * ## Event-Binding Attributes * | Name | Value | * | :- | :- | * | hawksearch-file-input | | * | hawksearch-drop-area | | * | hawksearch-display | | * * ## Default Template * The following is the default Handlebars template for this component. To create a custom template, it is recommended to use this as a starting point. * {@embed ./visual-search-field.component.hbs} * * @category Search */ export declare class VisualSearchFieldComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected deprecatedComponentName: "visualsearch-field"; protected defaultHtml: string; protected bindFromEvent: boolean; private clickEventHandler; private previousValue; private maxSize; private allowedExtensions; private handleFiles; connectedCallback(): void; disconnectedCallback(): void; protected getContentModel(): VisualSearchFieldComponentModel; protected onRender(): void; private isValidFile; private triggerUploadFailed; }