import { SvelteComponent, Snippet } from 'svelte'; import { HTMLAttributes } from 'svelte/elements'; import { Searchbar } from 'framework7/types'; interface Props { outline?: boolean; form?: boolean; placeholder?: string; disableButton?: boolean; disableButtonText?: string; clearButton?: boolean; value?: string | number | Array; inputEvents?: string; expandable?: boolean; inline?: boolean; searchContainer?: string | object; searchIn?: string; searchItem?: string; searchGroup?: string; searchGroupTitle?: string; foundEl?: string | object; notFoundEl?: string | object; backdrop?: boolean; backdropEl?: string | object; hideOnEnableEl?: string | object; hideOnSearchEl?: string | object; ignore?: string; customSearch?: boolean; removeDiacritics?: boolean; hideGroupTitles?: boolean; hideGroups?: boolean; init?: boolean; color?: string; colorTheme?: string; textColor?: string; bgColor?: string; borderColor?: string; rippleColor?: string; dark?: boolean; onSearchbarSearch?: (searchbar?: Searchbar.Searchbar, query?: any, previousQuery?: any) => void; onSearchbarClear?: (searchbar?: Searchbar.Searchbar, previousQuery?: any) => void; onSearchbarEnable?: (searchbar?: Searchbar.Searchbar) => void; onSearchbarDisable?: (searchbar?: Searchbar.Searchbar) => void; onChange?: (event?: any) => void; onInput?: (event?: any) => void; onFocus?: (event?: any) => void; onBlur?: (event?: any) => void; onSubmit?: (event?: any) => void; onClickClear?: (event?: any) => void; onClickDisable?: (event?: any) => void; restProps?: Snippet; onchange?: () => void; oninput?: () => void; onfocus?: () => void; onblur?: () => void; onsubmit?: () => void; onclickclear?: () => void; onclickdisable?: () => void; onsearchbarsearch?: () => void; onsearchbarclear?: () => void; onsearchbarenable?: () => void; onsearchbardisable?: () => void; } interface SearchbarProps {} interface SearchbarProps extends Props {} interface SearchbarProps extends HTMLAttributes {} interface SearchbarEvents extends Record<'',{}>{} declare class Searchbar extends SvelteComponent< SearchbarProps, SearchbarEvents, { } > {} export { SearchbarProps }; export default Searchbar;