import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const Syntax: { readonly Lark: "lark"; readonly Regex: "regex"; }; export type Syntax = ClosedEnum; export type GrammarFormat = { type: "grammar"; definition: string; syntax: Syntax; }; /** @internal */ export declare const Syntax$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Syntax$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GrammarFormat$inboundSchema: z.ZodType; /** @internal */ export type GrammarFormat$Outbound = { type: "grammar"; definition: string; syntax: string; }; /** @internal */ export declare const GrammarFormat$outboundSchema: z.ZodType; export declare function grammarFormatToJSON(grammarFormat: GrammarFormat): string; export declare function grammarFormatFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=grammarformat.d.ts.map