import { Schema } from "effect"; /** * Represents a cardano-cli JSON script syntax * * Native type follows the standard described in the * https://github.com/IntersectMBO/cardano-node/blob/1.26.1-with-cardano-cli/doc/reference/simple-scripts.md#json-script-syntax * * @since 2.0.0 * @category model */ export type NativeJSON = { type: "sig"; keyHash: string; } | { type: "before"; slot: number; } | { type: "after"; slot: number; } | { type: "all"; scripts: ReadonlyArray; } | { type: "any"; scripts: ReadonlyArray; } | { type: "atLeast"; required: number; scripts: ReadonlyArray; }; /** * Schema for NativeJSON union type. * * @since 2.0.0 * @category schemas */ export declare const NativeJSONSchema: Schema.Union<[Schema.Struct<{ type: Schema.Literal<["sig"]>; keyHash: typeof Schema.String; }>, Schema.Struct<{ type: Schema.Literal<["before"]>; slot: typeof Schema.Number; }>, Schema.Struct<{ type: Schema.Literal<["after"]>; slot: typeof Schema.Number; }>, Schema.Struct<{ type: Schema.Literal<["all"]>; scripts: Schema.Array$>; }>, Schema.Struct<{ type: Schema.Literal<["any"]>; scripts: Schema.Array$>; }>, Schema.Struct<{ type: Schema.Literal<["atLeast"]>; required: typeof Schema.Number; scripts: Schema.Array$>; }>]>; //# sourceMappingURL=NativeScriptJSON.d.ts.map