import { a as ReactCompilerConfig, c as UserViteConfig, o as TypeGenConfig, s as TypeGenResource } from "./cliConfig-BZgn8ge1.js";
import { z } from "zod/mini";
/**
 * @public
 */
declare const cliConfigSchema: z.ZodMiniObject<{
  api: z.ZodMiniOptional<z.ZodMiniObject<{
    dataset: z.ZodMiniOptional<z.ZodMiniString<string>>;
    projectId: z.ZodMiniOptional<z.ZodMiniString<string>>;
  }, z.core.$strip>>;
  app: z.ZodMiniOptional<z.ZodMiniObject<{
    entry: z.ZodMiniOptional<z.ZodMiniString<string>>;
    icon: z.ZodMiniOptional<z.ZodMiniString<string>>;
    id: z.ZodMiniOptional<z.ZodMiniString<string>>;
    organizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
    title: z.ZodMiniOptional<z.ZodMiniString<string>>;
    visibility: z.ZodMiniOptional<z.ZodMiniEnum<{
      default: "default";
      unlisted: "unlisted";
      disabled: "disabled";
    }>>;
  }, z.core.$strip>>;
  autoUpdates: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
  deployment: z.ZodMiniOptional<z.ZodMiniObject<{
    appId: z.ZodMiniOptional<z.ZodMiniString<string>>;
    autoUpdates: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
    studioHost: z.ZodMiniOptional<z.ZodMiniNever>;
  }, z.core.$strip>>;
  graphql: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
    filterSuffix: z.ZodMiniOptional<z.ZodMiniString<string>>;
    generation: z.ZodMiniOptional<z.ZodMiniEnum<{
      gen1: "gen1";
      gen2: "gen2";
      gen3: "gen3";
    }>>;
    id: z.ZodMiniOptional<z.ZodMiniString<string>>;
    nonNullDocumentFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
    playground: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
    source: z.ZodMiniOptional<z.ZodMiniString<string>>;
    tag: z.ZodMiniOptional<z.ZodMiniString<string>>;
    workspace: z.ZodMiniOptional<z.ZodMiniString<string>>;
  }, z.core.$strip>>>;
  mediaLibrary: z.ZodMiniOptional<z.ZodMiniObject<{
    aspectsPath: z.ZodMiniOptional<z.ZodMiniString<string>>;
  }, z.core.$strip>>;
  project: z.ZodMiniOptional<z.ZodMiniObject<{
    basePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
  }, z.core.$strip>>;
  reactCompiler: z.ZodMiniOptional<z.ZodMiniCustom<boolean | ReactCompilerConfig, boolean | ReactCompilerConfig>>;
  reactStrictMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
  schemaExtraction: z.ZodMiniOptional<z.ZodMiniObject<{
    enabled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
    enforceRequiredFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
    path: z.ZodMiniOptional<z.ZodMiniString<string>>;
    watchPatterns: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
    workspace: z.ZodMiniOptional<z.ZodMiniString<string>>;
  }, z.core.$strip>>;
  server: z.ZodMiniOptional<z.ZodMiniObject<{
    hostname: z.ZodMiniOptional<z.ZodMiniString<string>>;
    port: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
  }, z.core.$strip>>;
  studioHost: z.ZodMiniOptional<z.ZodMiniString<string>>;
  unstable_bundledDev: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
  vite: z.ZodMiniOptional<z.ZodMiniCustom<UserViteConfig, UserViteConfig>>;
  typegen: z.ZodMiniOptional<z.ZodMiniCustom<Partial<TypeGenConfig> & {
    enabled?: boolean;
    resources?: TypeGenResource[];
  }, Partial<TypeGenConfig> & {
    enabled?: boolean;
    resources?: TypeGenResource[];
  }>>;
}, z.core.$strip>;
/**
 * Studio/app manifest schemas. They live in cli-core because more than one
 * package validates manifests: the CLI extracts and writes them, and the
 * workbench dev-server registry stores and rebroadcasts them. Keeping the
 * contract here lets both validate against the same schema without depending on
 * each other.
 */
/**
 * Core-app application manifest. Mirrors the workbench's
 * `CoreAppUserApplicationManifest` schema. Strictly validated via zod since the
 * CLI produces the payload in full.
 */
declare const coreAppManifestSchema: z.ZodMiniObject<{
  dock: z.ZodMiniOptional<z.ZodMiniObject<{
    group: z.ZodMiniOptional<z.ZodMiniEnum<{
      system: "system";
      applications: "applications";
      user: "user";
    }>>;
    order: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
  }, z.core.$strip>>;
  icon: z.ZodMiniOptional<z.ZodMiniString<string>>;
  slug: z.ZodMiniOptional<z.ZodMiniString<string>>;
  title: z.ZodMiniOptional<z.ZodMiniString<string>>;
  version: z.ZodMiniString<string>;
}, z.core.$strip>;
type CoreAppManifest = z.infer<typeof coreAppManifestSchema>;
/**
 * Studio application manifest (serialized `create-manifest.json`). Kept loose so
 * the CLI isn't coupled to the workbench's evolving client-side schema — the
 * workbench consumer is authoritative on the inner shape. See its
 * `ClientManifest` for the fields clients expect.
 */
declare const studioManifestSchema: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
type StudioManifest = z.infer<typeof studioManifestSchema>;
export { cliConfigSchema as a, studioManifestSchema as i, StudioManifest as n, coreAppManifestSchema as r, CoreAppManifest as t };
//# sourceMappingURL=schemas-CCgh6idL.d.ts.map