import { MetaframePipeDefinition } from "../v0_4/index.js"; import { MetaframeOperationsV1 } from "../v1/metaframe.js"; import { VersionsMetaframe } from "../versions.js"; export type HashParamType = "string" | "stringBase64" | "boolean" | "json" | "File|Blob" | "number"; export interface HashParamDefinition { type?: HashParamType; value?: any; label?: string; description?: string; image?: string; allowed?: { value: any; label?: string; description?: string; image?: string; }[]; default?: { value: any; label?: string; description?: string; image?: string; }; } export type HashParamsObject = { [key: string]: HashParamDefinition; }; export type HashParamsRaw = string[] | HashParamsObject; export type MetaframeMetadataV2 = { name?: string; description?: string; authors?: string[]; image?: string; tags?: string[]; operations?: MetaframeOperationsV1; }; export interface MetaframeDefinitionV2 { version?: VersionsMetaframe; inputs?: { [key: string]: MetaframePipeDefinition; }; outputs?: { [key: string]: MetaframePipeDefinition; }; metadata: MetaframeMetadataV2; allow?: string; sandbox?: string; hashParams?: HashParamsRaw; } export type MetaframeDefinition = Omit & { version?: string; }; //# sourceMappingURL=metaframe.d.ts.map