import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type Style = string | boolean | number; /** * A run of text that shares one style */ export type ImageGenerationLayerTextRun = { /** * Font and style the provider recognized for this run, e.g. `similar_font_family`, `foreground_color`, `bold` */ style?: { [k: string]: string | boolean | number; } | undefined; text: string; }; /** @internal */ export declare const Style$inboundSchema: z.ZodType; export declare function styleFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ImageGenerationLayerTextRun$inboundSchema: z.ZodType; export declare function imageGenerationLayerTextRunFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagegenerationlayertextrun.d.ts.map