import { CmssyRetryMode, RetryOption, CmssyConfig } from '@cmssy/core'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { ComponentType } from 'react'; import { CmssyPageData, CmssyFormDefinition, BlockDefinition } from '@cmssy/react'; import { EditBridgeConfig } from '@cmssy/react/client'; declare const NEXT_BUILD_PHASE = "phase-production-build"; declare function nextRetryMode(): CmssyRetryMode; interface CmssyEditorProps { page: CmssyPageData; locale: string; defaultLocale: string; enabledLocales?: string[]; edit: EditBridgeConfig; forms?: Record; data?: Record; resolvedContent?: Record>; appContext?: Record; } type CmssyAppContext = Record | ((args: { page: CmssyPageData; locale: string; path: string[]; }) => Record | Promise>); interface CreateCmssyPageOptions { editor?: ComponentType; path?: string; appContext?: CmssyAppContext; retry?: RetryOption; } interface CatchAllParams { path?: string[]; } type SearchParams = Record; interface CatchAllProps { params?: Promise; searchParams?: Promise; } declare function createCmssyPage(config: CmssyConfig, blocks: BlockDefinition[], options?: CreateCmssyPageOptions): ({ params, searchParams, }: CatchAllProps) => Promise; declare function createCmssyEditPage(config: CmssyConfig, blocks: BlockDefinition[], options?: CreateCmssyPageOptions): ({ params, searchParams, }: CatchAllProps) => Promise; export { type CmssyAppContext as C, NEXT_BUILD_PHASE as N, type CmssyEditorProps as a, type CreateCmssyPageOptions as b, createCmssyEditPage as c, createCmssyPage as d, nextRetryMode as n };