UNPKG

@emanuelsan/mosaic-js

Version:

Composable Markdown-based AI instruction engine for Node.js

15 lines 893 B
import { Effect, Schema } from 'effect'; export declare const TemplateVariablesSchema: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number]>>; export type TemplateVariables = typeof TemplateVariablesSchema.Type; declare const VariablesDecodeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & { readonly _tag: "VariablesDecodeError"; } & Readonly<A>; declare class VariablesDecodeError extends VariablesDecodeError_base<{ message: string; }> { } export declare const decodeVariables: (variables: TemplateVariables) => Effect.Effect<{ readonly [x: string]: string | number; }, VariablesDecodeError, never>; export {}; //# sourceMappingURL=decodeVariables.d.ts.map