/** Preset record, version and validation response schemas. */ import { z } from 'zod'; /** A list of extension COMBOS — each combo an ordered list of elements. */ export declare const presetExtensions: z.ZodArray; }, z.core.$strip>]>>>; /** * One preset as `GET /api/presets` returns it. Every preset is versioned, so * `active_version` is always an int; `conflicted` marks a QUARANTINED row (its * name collided with a foreign tool at boot — delete-only). `extensions` are the * ACTIVE version's extension combos, `output_schema` the optional author-set * output JSON Schema, and `input_schema` the optional author-set input JSON * Schema. Categorization tags live in the tool_meta overlay * (`GET /api/tool-meta`), never on the record. A drift throws `ApiSchemaError`; * nothing is coerced. */ export declare const presetRecord: z.ZodObject<{ name: z.ZodString; base_tool: z.ZodString; description: z.ZodString; active_version: z.ZodNumber; extensions: z.ZodArray; }, z.core.$strip>]>>>; output_schema: z.ZodNullable>; input_schema: z.ZodNullable>; conflicted: z.ZodBoolean; conflicted_reason: z.ZodNullable; uses: z.ZodArray; used_by: z.ZodArray; }, z.core.$strip>; export type PresetRecord = z.infer; export declare const presetList: z.ZodArray; }, z.core.$strip>]>>>; output_schema: z.ZodNullable>; input_schema: z.ZodNullable>; conflicted: z.ZodBoolean; conflicted_reason: z.ZodNullable; uses: z.ZodArray; used_by: z.ZodArray; }, z.core.$strip>>; /** `GET /api/presets/{name}` — the record plus the active version's baked kwargs. */ export declare const presetDetail: z.ZodObject<{ name: z.ZodString; base_tool: z.ZodString; description: z.ZodString; active_version: z.ZodNumber; extensions: z.ZodArray; }, z.core.$strip>]>>>; output_schema: z.ZodNullable>; input_schema: z.ZodNullable>; conflicted: z.ZodBoolean; conflicted_reason: z.ZodNullable; uses: z.ZodArray; used_by: z.ZodArray; fixed_kwargs: z.ZodRecord; }, z.core.$strip>; export type PresetDetail = z.infer; /** * One immutable version row (`GET /api/presets/{name}/versions[/{version}]`). * `is_current` flags the active version; `tags` here is the GENERIC per-version * label list (kind-agnostic) — the only preset tags that remain, distinct from the * removed record-level categorization and from the tool_meta overlay. */ export declare const presetVersion: z.ZodObject<{ version: z.ZodNumber; body: z.ZodObject<{ base_tool: z.ZodString; description: z.ZodDefault; extensions: z.ZodDefault]>>>>; fixed_kwargs: z.ZodDefault>; input_schema: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodRecord, z.ZodNull]>>; output_schema: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodRecord, z.ZodNull]>>; state_binding: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; template_jq: z.ZodDefault>; }, z.core.$strict>>>; scope_expr: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; state: z.ZodString; subject_expr: z.ZodObject<{ content: z.ZodOptional; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>; templates: z.ZodDefault>; updates: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; jq: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; op_id: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; template_jq: z.ZodDefault>; }, z.core.$strict>>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodNull]>>; }, z.core.$strip>; tags: z.ZodArray; created_at: z.ZodString; is_current: z.ZodBoolean; }, z.core.$strip>; export type PresetVersion = z.infer; export declare const presetVersionList: z.ZodArray; extensions: z.ZodDefault]>>>>; fixed_kwargs: z.ZodDefault>; input_schema: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodRecord, z.ZodNull]>>; output_schema: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodRecord, z.ZodNull]>>; state_binding: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; template_jq: z.ZodDefault>; }, z.core.$strict>>>; scope_expr: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; state: z.ZodString; subject_expr: z.ZodObject<{ content: z.ZodOptional; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>; templates: z.ZodDefault>; updates: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; jq: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; op_id: z.ZodDefault; id: z.ZodOptional; kwargs: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>>; template_jq: z.ZodDefault>; }, z.core.$strict>>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodNull]>>; }, z.core.$strip>; tags: z.ZodArray; created_at: z.ZodString; is_current: z.ZodBoolean; }, z.core.$strip>>; /** `POST /api/presets/{name}/rollback` — the re-pointed active version. */ export declare const presetRollback: z.ZodObject<{ name: z.ZodString; active_version: z.ZodNumber; }, z.core.$strip>; /** `DELETE /api/presets/{name}` — the removed preset. */ export declare const presetDeleted: z.ZodObject<{ name: z.ZodString; deleted: z.ZodLiteral; }, z.core.$strip>; /** `POST /api/presets/{name}/rename` — the re-keyed record identity. */ export declare const presetRenamed: z.ZodObject<{ name: z.ZodString; renamed_from: z.ZodString; active_version: z.ZodNumber; }, z.core.$strip>; export type PresetRenamed = z.infer; /** * `GET /api/presets/{name}/referees` — every OTHER preset whose active authored * composition names this one as a tool (the referees a rename would strand). An * empty list is the clean case; a non-empty list means a rename is blocked until * those presets are updated. A drift throws `ApiSchemaError`. */ export declare const presetReferees: z.ZodObject<{ name: z.ZodString; referees: z.ZodArray; }, z.core.$strip>; export type PresetReferees = z.infer; /** * `POST /api/presets/validate` — the dry-run verdict for a preset draft. `valid` * is the absence of an `error`; an invalid draft is a SUCCESSFUL validation (HTTP * 200), so `error` carries the server's verbatim message. A drift throws * `ApiSchemaError`. */ export declare const presetValidation: z.ZodObject<{ valid: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; export type PresetValidation = z.infer; /** * `PUT /api/presets/{name}/versions/{version}/tags` — the re-annotated version. * Version tags are labels on an immutable body, so this rebinds nothing; the * response echoes the identity plus the new tag list. A drift throws * `ApiSchemaError`. */ export declare const presetVersionTags: z.ZodObject<{ name: z.ZodString; version: z.ZodNumber; tags: z.ZodArray; }, z.core.$strip>; export type PresetVersionTags = z.infer; //# sourceMappingURL=presets.d.ts.map