import { CmssyPageData, CmssyClientConfig, CmssyFormDefinition, CmssyBlockAuthContext, CmssyBlockWorkspace, CmssyLayoutGroup, RetryOption, CmssyConfig, RawBlock, CmssyBlockContext } from '@cmssy/core'; export { AppToEditorMessage, BlockMeta, BlockPropsSchema, BlockRect, BlockSchema, BoundsMessage, BuildBlockContextExtra, ClickMessage, CmssyBlockAuthContext, CmssyBlockContext, CmssyBlockMember, CmssyBlockPage, CmssyBlockWorkspace, CmssyBranding, CmssyClient, CmssyClientConfig, CmssyFormDefinition, CmssyFormField, CmssyFormSettings, CmssyFormSubmitResponse, CmssyLayoutGroup, CmssyLayoutSettings, CmssyLocaleContext, CmssyLocalizedValue, CmssyModelDefinition, CmssyModelRecord, CmssyPageData, CmssyPageMeta, CmssyPageSummary, CmssyRecordList, CmssyRequestError, CmssyRetryMode, CmssySiteConfig, CmssyTypedDocument, EditorToAppMessage, FetchLike, FetchLikeResponse, FetchPageOptions, FieldControl, FieldDefinition, FieldType, GraphqlRequestOptions, InferBlockContent, LayoutPosition, MediaLike, PROTOCOL_VERSION, ParentReadyMessage, PatchMessage, PostTarget, QueryScopedOptions, RawBlock, RawLayoutBlock, ReadyMessage, RetryOption, RetryPolicy, SelectMessage, SubmitFormInput, TypedField, createCmssyClient, fields, graphqlRequest, isProtocolCompatible, layoutPositionValues, mediaAlt, mediaUrl, mediaUrls, normalizeOrigin, parseEditorMessage, postToEditor } from '@cmssy/core'; import { B as BlockDefinition, a as BlockMap } from './registry-CwJ2cby4.js'; export { b as BlockProps, c as buildBlockMap, d as defineBlock } from './registry-CwJ2cby4.js'; import { FieldDefinition } from '@cmssy/types'; export { FieldCondition, FieldConditionGroup, FieldConditionLogic } from '@cmssy/types'; export { buildBlockContext } from '@cmssy/core/internal'; import * as react_jsx_runtime from 'react/jsx-runtime'; export { EditorBlockData, ResolveBlockDataOptions, ResolveLayoutBlockDataOptions, resolveEditorBlockData, resolveEditorLayoutBlockData } from './internal-server.js'; import 'react'; interface CmssyServerPageProps { page: CmssyPageData | null; blocks: BlockDefinition[]; locale?: string; defaultLocale?: string; enabledLocales?: string[]; config?: CmssyClientConfig; forms?: Record; auth?: CmssyBlockAuthContext; workspace?: CmssyBlockWorkspace; appContext?: Record; editMode?: boolean; } declare function CmssyServerPage({ page, blocks, locale: localeProp, defaultLocale: defaultLocaleProp, enabledLocales: enabledLocalesProp, config, forms, auth, workspace, appContext, editMode, }: CmssyServerPageProps): Promise; interface ResolveCmssyLayoutSlotBase { position: string; blocks: BlockDefinition[]; editMode: boolean; page?: string; forms?: Record; appContext?: Record; retry?: RetryOption; } type CmssyLayoutSlotLocaleSource = { path: string[]; locale?: string; } | { locale: string; path?: undefined; }; type ResolveCmssyLayoutSlotOptions = ResolveCmssyLayoutSlotBase & CmssyLayoutSlotLocaleSource; interface CmssyLayoutSlotResolution { groups: CmssyLayoutGroup[]; locale: string; defaultLocale: string; enabledLocales: string[]; path: string[]; data?: Record; resolvedContent?: Record>; editorOrigin?: string | string[]; } declare function resolveCmssyLayoutSlot(config: CmssyConfig, options: ResolveCmssyLayoutSlotOptions): Promise; interface CmssyServerLayoutProps { groups: CmssyLayoutGroup[]; blocks: BlockDefinition[]; position: string; locale?: string; defaultLocale?: string; enabledLocales?: string[]; config?: CmssyClientConfig; appContext?: Record; editMode?: boolean; } declare function CmssyServerLayout({ groups, blocks, position, locale: localeProp, defaultLocale: defaultLocaleProp, enabledLocales: enabledLocalesProp, config, appContext, editMode, }: CmssyServerLayoutProps): Promise; interface CmssyBlockProps { block: RawBlock; locale: string; defaultLocale: string; blockMap: BlockMap; patchedContent?: Record; patchedStyle?: Record; patchedAdvanced?: Record; resolvedContent?: Record; schema?: Record; editable?: boolean; editMode?: boolean; layoutPosition?: string; context?: CmssyBlockContext; data?: unknown; } declare function CmssyBlock({ block, locale, defaultLocale, blockMap, patchedContent, patchedStyle, patchedAdvanced, resolvedContent, schema, editable, editMode, layoutPosition, context, data, }: CmssyBlockProps): react_jsx_runtime.JSX.Element | null; interface UnknownBlockProps { type: string; } declare function UnknownBlock({ type }: UnknownBlockProps): react_jsx_runtime.JSX.Element; export { BlockDefinition, BlockMap, CmssyBlock, type CmssyBlockProps, type CmssyLayoutSlotLocaleSource, type CmssyLayoutSlotResolution, CmssyServerLayout, type CmssyServerLayoutProps, CmssyServerPage, type CmssyServerPageProps, type ResolveCmssyLayoutSlotOptions, UnknownBlock, type UnknownBlockProps, resolveCmssyLayoutSlot };