import type { ContextExState } from '@ariestools/sdk-react/shared'; import type { Dispatch, SetStateAction } from 'react'; import type { PayloadRenderPlugin } from '../../../payload-plugin/index.js'; import type { ListMode } from '../../../shared/index.js'; /** Visibility flags for optional embed plugin UI chrome. */ export interface EmbedPluginVisibilityConfig { hideAvatar?: boolean; hideCardActions?: boolean; hideCardHeader?: boolean; hideErrorDetails?: boolean; hideRefreshButton?: boolean; hideTimestamp?: boolean; hideTitle?: boolean; } /** Extendable configuration for custom embed plugin rendering. */ export interface PluginConfig { listMode?: ListMode; } /** Shared base fields for embed plugin props and context state. */ export interface EmbedPluginBase { /** EmbedPlugin component configuration. */ embedPluginConfig?: PluginConfig; hideElementsConfig?: EmbedPluginVisibilityConfig; /** @deprecated use huriPayload */ huri?: string; plugins?: PayloadRenderPlugin[]; refreshTitle?: string; timestampLabel?: string; } /** Context state for the active embed plugin and related UI configuration. */ export type EmbedPluginState = ContextExState>; }>; //# sourceMappingURL=State.d.ts.map