UNPKG

histoire

Version:

A fast story book powered by Vite

33 lines • 1.35 kB
import { z } from 'zod/v4'; /** Shared isolated-preview arguments for screenshots and inspection. */ export declare const mcpPreviewInputFields: { /** Exact registered story. */ storyId: z.ZodString; /** Exact scoped variant. */ variantId: z.ZodString; /** Caller-required completed catalog publication. */ expectedRevision: z.ZodOptional<z.ZodString>; /** Principal-owned retry identity. */ requestKey: z.ZodString; /** CSS viewport width. */ width: z.ZodDefault<z.ZodNumber>; /** CSS viewport height. */ height: z.ZodDefault<z.ZodNumber>; /** Integer device pixels per CSS pixel. */ deviceScaleFactor: z.ZodDefault<z.ZodNumber>; /** Bounded primitive settings; replaces configured defaults when supplied. */ globals: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, z.ZodTransform<Readonly<{ [x: string]: string | number | boolean; }>, Record<string, string | number | boolean>>>>; /** Configured theme when omitted. */ colorScheme: z.ZodOptional<z.ZodEnum<{ dark: "dark"; light: "light"; }>>; /** Rendered text direction. */ textDirection: z.ZodDefault<z.ZodEnum<{ ltr: "ltr"; rtl: "rtl"; }>>; }; //# sourceMappingURL=preview-input.d.ts.map