import { z } from 'zod';
import { C as ContentTypeConfig } from '../../shared/stack.B8QD11QU.js';
export { L as LoaderContext, b as PaginatedUIBuilderPages, P as ParsedUIBuilderPage, S as SerializedUIBuilderPage, c as UIBuilderClientHooks, a as UIBuilderPage, U as UIBuilderPageData } from '../../shared/stack.B2DwzF3r.js';
export { C as ComponentLayer, a as ComponentRegistry, F as FunctionRegistry, R as RegistryEntry, V as Variable } from '../../shared/stack.D0QupDcQ.js';
import 'react';
import '../../shared/stack.8nldKomx.js';
import 'react-hook-form';
import 'react/jsx-runtime';

/**
 * Zod schema for UI Builder page data
 * This schema defines the structure of data stored in CMS content items
 */
declare const uiBuilderPageSchema: z.ZodObject<{
    layers: z.ZodString;
    variables: z.ZodDefault<z.ZodString>;
    status: z.ZodDefault<z.ZodEnum<{
        published: "published";
        draft: "draft";
        archived: "archived";
    }>>;
}, z.core.$strip>;
/**
 * Pre-configured content type for UI Builder pages
 * Add this to your CMS plugin configuration to enable UI Builder
 *
 * @example
 * ```typescript
 * import { UI_BUILDER_CONTENT_TYPE } from "@btst/stack/plugins/ui-builder"
 *
 * cms: cmsBackendPlugin({
 *   contentTypes: [
 *     UI_BUILDER_CONTENT_TYPE,
 *     // ... other content types
 *   ]
 * })
 * ```
 */
declare const UI_BUILDER_CONTENT_TYPE: ContentTypeConfig;
/**
 * Content type slug constant for use in queries
 */
declare const UI_BUILDER_TYPE_SLUG: "ui-builder-page";
type UIBuilderPageSchemaType = z.infer<typeof uiBuilderPageSchema>;

export { UI_BUILDER_CONTENT_TYPE, UI_BUILDER_TYPE_SLUG, uiBuilderPageSchema };
export type { UIBuilderPageSchemaType };
