import { Literal, Record, Static } from "runtypes"; import { ContractI, FunctionI } from "../../objects/functions"; import { CronJobI } from "../../objects/module/cronjobs"; import { DependencyI } from "../../objects/module/dependency"; import { TableExtensionI, TableI, TraitI } from "../../objects/table/records"; import { TestI } from "../../objects/test"; import { Loader } from "../core"; interface YamlLoaderOpts { include: string; } export declare const loadYaml: Loader; declare const YamlTable: Record<{ kind: Literal<"Table">; }, false>; declare const YamlTrait: Record<{ kind: Literal<"Trait">; }, false>; declare const YamlTest: Record<{ kind: Literal<"Test">; }, false>; declare const YamlExtension: Record<{ kind: Literal<"TableExtension">; }, false>; declare const YamlFunction: Record<{ kind: Literal<"Function">; }, false>; declare const YamlContract: Record<{ kind: Literal<"Contract">; }, false>; declare const YamlCronJob: Record<{ kind: Literal<"CronJob">; }, false>; declare const YamlDependency: Record<{ kind: Literal<"Dependency">; }, false>; interface YamlTableI extends Static { [key: string]: any; } interface YamlTraitI extends Static { [key: string]: any; } interface YamlTestI extends Static { [key: string]: any; } interface YamlExtensionI extends Static { [key: string]: any; } interface YamlFunctionI extends Static { [key: string]: any; } interface YamlCronJobI extends Static { [key: string]: any; } interface YamlContractI extends Static { [key: string]: any; } interface YamlDependencyI extends Static { [key: string]: any; } export declare const toTable: (yaml: YamlTableI) => TableI; export declare const toTrait: (yaml: YamlTraitI) => TraitI; export declare const toTest: (yaml: YamlTestI) => TestI; export declare const toExtension: (yaml: YamlExtensionI) => TableExtensionI; export declare const toCronJob: (yaml: YamlCronJobI) => CronJobI; export declare const toFunction: (yaml: YamlFunctionI) => FunctionI; export declare const toContract: (yaml: YamlContractI) => ContractI; export declare const toDependency: (yaml: YamlDependencyI) => DependencyI; export {};