import { FC } from 'react' import { BlockEditProps, BlockSaveProps } from '@wordpress/blocks'; import { AlgoliaSearchAttributes, AlgoliaSearchSettingAttributes, CustomBlockAttribute, PostDisplayAttributes, PostDisplaySettingAttributes } from "../../block.interfaces" export type InstantSearchAttributeSettings = PostDisplaySettingAttributes & AlgoliaSearchSettingAttributes &{ searchOnlyApiKey: CustomBlockAttribute; appId: CustomBlockAttribute; searchFormStyle: CustomBlockAttribute; } export type InstantSearchAttributes = PostDisplayAttributes & AlgoliaSearchAttributes & { searchOnlyApiKey: string; appId: string; searchFormStyle: 'algolia' | 'wordpress' } export type InstantSearchEditComponentProps = BlockEditProps export type InstantSearchSaveComponentProps = BlockSaveProps export type InstantSearchEditComponent = FC export type InstantSearchSaveComponent = FC