import { FC } from 'react' import { BlockEditProps, BlockSaveProps } from '@wordpress/blocks'; import { AlgoliaHit, AlgoliaSearchAttributes, AlgoliaSearchSettingAttributes, CustomBlockAttribute, PostDisplayAttributes, PostDisplaySettingAttributes } from "../../block.interfaces" export type StaticRelatedItemAttributeSettings = PostDisplaySettingAttributes & Omit & { readonly hits: CustomBlockAttribute; readonly displaySearchForm: CustomBlockAttribute; } export type StaticRelatedItemAttributes = PostDisplayAttributes & AlgoliaSearchAttributes & { readonly hits?: Array readonly displaySearchForm: boolean; } export type StaticRelatedItemEditComponentProps = BlockEditProps export type StaticRelatedItemSaveComponentProps = BlockSaveProps export type StaticRelatedItemEditComponent = FC export type StaticRelatedItemSaveComponent = FC