/**
 * Runtime Verification Types
 *
 * Types for app launching, golden path testing, and runtime verification.
 *
 * @module scanners/runtime/types
 */
import { z } from "zod";
/**
 * Golden path flow definition (YAML schema)
 */
export const GoldenPathFlowSchema = z.object({
    name: z.string().describe("Human-readable flow name"),
    description: z.string().optional(),
    priority: z.enum(["critical", "high", "medium", "low"]).default("medium"),
    tags: z.array(z.string()).optional(),
    baseUrl: z.string().optional().describe("Override base URL"),
    steps: z.array(z.object({
        action: z.enum([
            "navigate",
            "click",
            "fill",
            "select",
            "assert",
            "wait",
            "screenshot",
            "api",
        ]),
        url: z.string().optional(),
        selector: z.string().optional(),
        value: z.string().optional(),
        method: z.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional(),
        body: z.record(z.unknown()).optional(),
        headers: z.record(z.string()).optional(),
        timeout: z.number().optional(),
        screenshot: z.boolean().optional(),
        description: z.string().optional(),
    })),
});
//# sourceMappingURL=types.js.map