/** * Runtime schema for {@link ProjectConfig}, derived from {@link CliConfigSchema} so the two shapes * cannot drift independently: picks the seven hosted-section fields, strips down to the decoded * shape, then makes every property deep-optional while dropping secret-only (`x-secret`) leaves, * every `DOCUMENT_ONLY_LOCAL_PATHS` entry, and containers and struct-level `.check()` * refinements a sparse overlay can't satisfy. Always permissive (`additionalProperties: true`); * `_apiResponse` is non-enumerable, so it's excluded. */ import type { StandardSchemaV1 } from "@standard-schema/spec"; import { Schema } from "effect"; import type { ProjectConfig } from "./project-config.ts"; /** * The runtime shape {@link projectConfigAst} validates: {@link ProjectConfig} minus * `_apiResponse`, which is non-enumerable and has no runtime representation to check. */ type ProjectConfigSchemaType = Omit; /** * Runtime validator for {@link ProjectConfig}, exposed as both an Effect `Schema.Codec` and a * spec-compliant Standard Schema (`~standard`) on the same object. * * Annotated explicitly because the inferred type names `@standard-schema/spec` transitively, * which tsc can't portably emit into a declaration file unless it's a direct dependency. */ export declare const ProjectConfigSchema: StandardSchemaV1 & Schema.Codec; /** JSON Schema (draft 2020-12) rendering of {@link ProjectConfigSchema}. */ export declare function toProjectConfigJsonSchema(): { $schema: string; $defs?: import("effect/JsonSchema").Definitions | undefined; }; export {}; //# sourceMappingURL=project-schema.d.ts.map