import type { AccessStep, ExecutionDetails, GrafastResultsList } from "grafast"; import { Step } from "grafast"; export type JSONValue = string | number | boolean | null | { [key: string]: JSONValue; } | Array; /** * This plan accepts as JSON string as its only input and will result in the * parsed JSON object (or array, boolean, string, etc). */ export declare class JSONParseStep extends Step { static $$export: { moduleName: string; exportName: string; }; isSyncAndSafe: boolean; constructor($stringPlan: Step); toStringMeta(): string; __inferGet?: { [TKey in keyof TJSON]: AccessStep ? TJSON[TKey] : never>; }; get(key: TKey): AccessStep ? TJSON[TKey] : never>; at(index: TIndex): AccessStep; deduplicate(_peers: readonly Step[]): readonly Step[]; execute({ indexMap, values: [stringDep], }: ExecutionDetails<[string]>): GrafastResultsList; } /** * This plan accepts as JSON string as its only input and will result in the * parsed JSON object (or array, boolean, string, etc). */ export declare function jsonParse($string: Step): JSONParseStep; //# sourceMappingURL=jsonParse.d.ts.map