import { PuckCloudOptions as PuckCloudOptions$1 } from './index.js'; export { ChatParams, DesignModeOptions, Endpoint, GenerateParams, OnFinishCallback, OnFinishResult, PuckAiModel, PuckAiProviderOptions, UserTool, UserToolRegistry, chat, endpoints, generate, tool } from './index.js'; import { Data } from '@puckeditor/core'; import '@ai-sdk/provider'; import '@ai-sdk/provider-utils'; import 'zod/v4'; import 'ai'; type VerifyPuckHostParams = { host?: string; siteId?: string | null; token?: string | null; }; declare const verifyPuckHost: ({ host, siteId, token, }: VerifyPuckHostParams) => Promise; type GetPageParams = { apiKey?: string | null; host?: string; path: string; siteId?: string | null; }; declare const getPublishedPageData: ({ apiKey, host, path, siteId, }: GetPageParams) => Promise; type PageVersionStatus = "published" | "unpublished" | "error"; type ReadPageArgs = { id?: string | null; path?: string | null; siteId: string; versionId?: string | null; }; type CreatePageBody = { data?: Data; path: string; status?: PageVersionStatus; versionId?: string | null; }; type PublishPageBody = { data?: Data; path?: string; status?: PageVersionStatus; versionId?: string | null; }; type PageVersion = { id?: string; data: Data; status?: PageVersionStatus; versionNumber?: number; createdAt?: string; updatedAt?: string; isNew?: boolean; }; type PageRecord = { id?: string; path: string; status?: PageVersionStatus; versions?: PageVersion[]; }; type SitePageSummary = Pick & { status: PageVersionStatus; }; type PageReadResponse = { page: Required> & { versions: PageVersion[]; }; sitePages: SitePageSummary[]; }; type PagePublishResponse = { page: Required> & { versions: PageVersion[]; }; }; type PageDeleteResponse = { page: Required>; }; type PuckCloudOptions = PuckCloudOptions$1 & { pages?: { siteId?: string; }; }; declare function puckHandler(request: Request, options?: PuckCloudOptions): Promise; export { type CreatePageBody, type GetPageParams, type PageDeleteResponse, type PagePublishResponse, type PageReadResponse, type PageRecord, type PageVersion, type PageVersionStatus, type PublishPageBody, type PuckCloudOptions, type ReadPageArgs, type SitePageSummary, type VerifyPuckHostParams, getPublishedPageData as getPage, puckHandler, verifyPuckHost };