import { z } from "zod"; /** * Backend DeclIR (hasil tangkapan DSL) — dekat dengan DSL backend. * Schemas + types untuk deklaratif backend. */ export declare const DeclOperationSchema: z.ZodObject<{ kind: z.ZodEnum<["create", "get", "list", "update", "remove"]>; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }>; export declare const DeclEntitySchema: z.ZodObject<{ type: z.ZodLiteral<"entity">; name: z.ZodOptional; id: z.ZodString; plural: z.ZodOptional; model: z.ZodOptional>; operations: z.ZodDefault; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "entity"; id: string; operations: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[]; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; }, { type: "entity"; id: string; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; operations?: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[] | undefined; }>; export declare const DeclAppSchema: z.ZodObject<{ type: z.ZodLiteral<"app">; name: z.ZodOptional; entities: z.ZodDefault; name: z.ZodOptional; id: z.ZodString; plural: z.ZodOptional; model: z.ZodOptional>; operations: z.ZodDefault; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }, { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "entity"; id: string; operations: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[]; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; }, { type: "entity"; id: string; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; operations?: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[] | undefined; }>, "many">>; meta: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "app"; entities: { type: "entity"; id: string; operations: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[]; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; }[]; meta: Record; name?: string | undefined; }, { type: "app"; name?: string | undefined; entities?: { type: "entity"; id: string; name?: string | undefined; plural?: string | undefined; model?: Record | undefined; operations?: { kind: "create" | "get" | "list" | "update" | "remove"; name?: string | undefined; }[] | undefined; }[] | undefined; meta?: Record | undefined; }>; export type DeclOperation = z.infer; export type DeclEntity = z.infer; export type DeclApp = z.infer;