UNPKG

@taqueria/protocol

Version:

A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.

1,411 lines • 1.43 MB
import { z } from "zod"; export declare const nonEmptyStringSchema: z.ZodString; export declare const singleCharSchema: z.ZodString; export declare const verbSchema: z.ZodString; export declare const aliasSchema: z.ZodUnion<[z.ZodString, z.ZodString]>; export declare const humanReadableIdentifierSchema: z.ZodString; export declare const sanitizedAbsPathSchema: z.ZodString; export declare const sanitizedPathSchema: z.ZodString; export declare const settingsSchema: z.ZodObject<{ consent: z.ZodUnion<[z.ZodLiteral<"opt_in">, z.ZodLiteral<"opt_out">, z.ZodLiteral<"unspecified">]>; }, "strip", z.ZodTypeAny, { consent: "opt_in" | "opt_out" | "unspecified"; }, { consent: "opt_in" | "opt_out" | "unspecified"; }>; export declare const timestampSchema: z.ZodNumber; export declare const tzSchema: z.ZodString; export declare const versionNumberSchema: z.ZodString; export declare const urlSchema: z.ZodString; export declare const commandSchema: z.ZodString; export declare const optionSchema: z.ZodObject<{ shortFlag: z.ZodOptional<z.ZodString>; flag: z.ZodString; description: z.ZodString; defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"count">]>>; required: z.ZodOptional<z.ZodBoolean>; boolean: z.ZodOptional<z.ZodBoolean>; choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }, { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }>; export declare const positionalArgSchema: z.ZodObject<{ placeholder: z.ZodString; description: z.ZodString; defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>; required: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }, { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }>; export declare const installedPluginSchema: z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>; name: z.ZodString; }, "strip", z.ZodTypeAny, { type: "npm" | "binary" | "deno"; name: string; }, { type: "npm" | "binary" | "deno"; name: string; }>; export declare const pluginResponseEncodingSchema: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"json">, z.ZodLiteral<"application/json">]>>; export declare const taskSchema: z.ZodObject<{ task: z.ZodString; command: z.ZodString; aliases: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">>; description: z.ZodOptional<z.ZodString>; example: z.ZodOptional<z.ZodString>; hidden: z.ZodOptional<z.ZodBoolean>; encoding: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"json">, z.ZodLiteral<"application/json">]>>>; handler: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodString]>; options: z.ZodOptional<z.ZodArray<z.ZodObject<{ shortFlag: z.ZodOptional<z.ZodString>; flag: z.ZodString; description: z.ZodString; defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"count">]>>; required: z.ZodOptional<z.ZodBoolean>; boolean: z.ZodOptional<z.ZodBoolean>; choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }, { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }>, "many">>; positionals: z.ZodOptional<z.ZodArray<z.ZodObject<{ placeholder: z.ZodString; description: z.ZodString; defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>; required: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }, { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { handler: string; command: string; task: string; description?: string | undefined; positionals?: { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }[] | undefined; options?: { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }[] | undefined; hidden?: boolean | undefined; encoding?: "none" | "json" | "application/json" | undefined; aliases?: string[] | undefined; example?: string | undefined; }, { handler: string; command: string; task: string; description?: string | undefined; positionals?: { description: string; placeholder: string; required?: boolean | undefined; type?: "string" | "number" | "boolean" | undefined; defaultValue?: string | number | boolean | undefined; }[] | undefined; options?: { description: string; flag: string; boolean?: boolean | undefined; required?: boolean | undefined; type?: "string" | "number" | "boolean" | "count" | undefined; shortFlag?: string | undefined; defaultValue?: string | number | boolean | undefined; choices?: string[] | undefined; }[] | undefined; hidden?: boolean | undefined; encoding?: "none" | "json" | "application/json" | undefined; aliases?: string[] | undefined; example?: string | undefined; }>; export declare const runtimeDependencySchema: z.ZodObject<{ name: z.ZodString; path: z.ZodString; version: z.ZodString; kind: z.ZodUnion<[z.ZodLiteral<"required">, z.ZodLiteral<"optional">]>; }, "strip", z.ZodTypeAny, { version: string; path: string; name: string; kind: "required" | "optional"; }, { version: string; path: string; name: string; kind: "required" | "optional"; }>; export declare const runtimeDependencyReportSchema: z.ZodObject<{ name: z.ZodString; path: z.ZodString; version: z.ZodString; kind: z.ZodUnion<[z.ZodLiteral<"required">, z.ZodLiteral<"optional">]>; } & { met: z.ZodBoolean; }, "strip", z.ZodTypeAny, { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }, { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }>; export declare const pluginDependenciesResponseSchema: z.ZodObject<{ report: z.ZodArray<z.ZodObject<{ name: z.ZodString; path: z.ZodString; version: z.ZodString; kind: z.ZodUnion<[z.ZodLiteral<"required">, z.ZodLiteral<"optional">]>; } & { met: z.ZodBoolean; }, "strip", z.ZodTypeAny, { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }, { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { report: { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }[]; }, { report: { version: string; path: string; name: string; kind: "required" | "optional"; met: boolean; }[]; }>; export declare const pluginJsonResponseSchema: z.ZodUnion<[z.ZodObject<{ data: z.ZodOptional<z.ZodUnknown>; messages: z.ZodOptional<z.ZodObject<{ header: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { header?: string | undefined; footer?: string | undefined; }, { header?: string | undefined; footer?: string | undefined; }>>; render: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"table">, z.ZodLiteral<"string">]>>; }, "strip", z.ZodTypeAny, { render: "string" | "none" | "table"; data?: unknown; messages?: { header?: string | undefined; footer?: string | undefined; } | undefined; }, { data?: unknown; messages?: { header?: string | undefined; footer?: string | undefined; } | undefined; render?: "string" | "none" | "table" | undefined; }>, z.ZodVoid]>; export declare const pluginProxyResponseSchema: z.ZodUnion<[z.ZodVoid, z.ZodUnion<[z.ZodObject<{ data: z.ZodOptional<z.ZodUnknown>; messages: z.ZodOptional<z.ZodObject<{ header: z.ZodOptional<z.ZodString>; footer: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { header?: string | undefined; footer?: string | undefined; }, { header?: string | undefined; footer?: string | undefined; }>>; render: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"table">, z.ZodLiteral<"string">]>>; }, "strip", z.ZodTypeAny, { render: "string" | "none" | "table"; data?: unknown; messages?: { header?: string | undefined; footer?: string | undefined; } | undefined; }, { data?: unknown; messages?: { header?: string | undefined; footer?: string | undefined; } | undefined; render?: "string" | "none" | "table" | undefined; }>, z.ZodVoid]>]>; export declare const buildNumberSchema: z.ZodNumber; export declare const sanitizedArgsSchema: z.ZodObject<{ _: z.ZodArray<z.ZodString, "many">; projectDir: z.ZodString; maxConcurrency: z.ZodNumber; debug: z.ZodBoolean; disableState: z.ZodBoolean; logPluginRequests: z.ZodBoolean; fromVsCode: z.ZodBoolean; version: z.ZodBoolean; build: z.ZodBoolean; help: z.ZodBoolean; yes: z.ZodBoolean; plugin: z.ZodOptional<z.ZodString>; env: z.ZodString; quickstart: z.ZodString; setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>; setVersion: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ _: z.ZodArray<z.ZodString, "many">; projectDir: z.ZodString; maxConcurrency: z.ZodNumber; debug: z.ZodBoolean; disableState: z.ZodBoolean; logPluginRequests: z.ZodBoolean; fromVsCode: z.ZodBoolean; version: z.ZodBoolean; build: z.ZodBoolean; help: z.ZodBoolean; yes: z.ZodBoolean; plugin: z.ZodOptional<z.ZodString>; env: z.ZodString; quickstart: z.ZodString; setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>; setVersion: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ _: z.ZodArray<z.ZodString, "many">; projectDir: z.ZodString; maxConcurrency: z.ZodNumber; debug: z.ZodBoolean; disableState: z.ZodBoolean; logPluginRequests: z.ZodBoolean; fromVsCode: z.ZodBoolean; version: z.ZodBoolean; build: z.ZodBoolean; help: z.ZodBoolean; yes: z.ZodBoolean; plugin: z.ZodOptional<z.ZodString>; env: z.ZodString; quickstart: z.ZodString; setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>; setVersion: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export declare const pluginActionNameSchema: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodLiteral<"pluginInfo">, z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"runPostInstall">, z.ZodLiteral<"proxyTemplate">]>; export declare const economicalProtocolHashSchema: z.ZodString; export declare const publicKeyHashSchema: z.ZodString; export declare const sha256Schema: z.ZodString; export declare const contractSchema: z.ZodObject<{ sourceFile: z.ZodString; hash: z.ZodString; }, "strip", z.ZodTypeAny, { sourceFile: string; hash: string; }, { sourceFile: string; hash: string; }>; export declare const faucetSchema: z.ZodObject<{ pkh: z.ZodString; mnemonic: z.ZodArray<z.ZodString, "many">; email: z.ZodString; password: z.ZodString; amount: z.ZodString; activation_code: z.ZodString; }, "strip", z.ZodTypeAny, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }>; export declare const tzKtConfigSchema: z.ZodObject<{ disableAutostartWithSandbox: z.ZodOptional<z.ZodBoolean>; postgresqlPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; apiPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }>; export declare const persistedOperationSchema: z.ZodObject<{ hash: z.ZodString; time: z.ZodNumber; output: z.ZodOptional<z.ZodUnknown>; }, "strip", z.ZodTypeAny, { hash: string; time: number; output?: unknown; }, { hash: string; time: number; output?: unknown; }>; export declare const persistedTaskSchema: z.ZodObject<{ task: z.ZodString; plugin: z.ZodString; time: z.ZodNumber; output: z.ZodOptional<z.ZodUnknown>; }, "strip", z.ZodTypeAny, { plugin: string; task: string; time: number; output?: unknown; }, { plugin: string; task: string; time: number; output?: unknown; }>; export declare const provisionerIDSchema: z.ZodString; export declare const provisionerSchema: z.ZodObject<{ id: z.ZodString; plugin: z.ZodString; operation: z.ZodUnion<[z.ZodString, z.ZodLiteral<"custom">]>; command: z.ZodOptional<z.ZodString>; label: z.ZodOptional<z.ZodString>; depends_on: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { plugin: string; operation: string; id: string; command?: string | undefined; label?: string | undefined; depends_on?: string[] | undefined; }, { plugin: string; operation: string; id: string; command?: string | undefined; label?: string | undefined; depends_on?: string[] | undefined; }>; export declare const provisionsSchema: z.ZodArray<z.ZodObject<{ id: z.ZodString; plugin: z.ZodString; operation: z.ZodUnion<[z.ZodString, z.ZodLiteral<"custom">]>; command: z.ZodOptional<z.ZodString>; label: z.ZodOptional<z.ZodString>; depends_on: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { plugin: string; operation: string; id: string; command?: string | undefined; label?: string | undefined; depends_on?: string[] | undefined; }, { plugin: string; operation: string; id: string; command?: string | undefined; label?: string | undefined; depends_on?: string[] | undefined; }>, "many">; export declare const environmentSchema: z.ZodObject<{ networks: z.ZodArray<z.ZodString, "many">; sandboxes: z.ZodArray<z.ZodString, "many">; storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>; }, "strip", z.ZodTypeAny, { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }, { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }>; export declare const configContractsDirSchema: z.ZodDefault<z.ZodString>; export declare const configArtifactsDirSchema: z.ZodDefault<z.ZodString>; export declare const currencyAmountV2Schema: z.ZodObject<{ amount: z.ZodString; units: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; units: string; }, { amount: string; units: string; }>; export declare const metadataConfigSchema: z.ZodObject<{ name: z.ZodOptional<z.ZodString>; projectDescription: z.ZodOptional<z.ZodString>; authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; license: z.ZodOptional<z.ZodString>; homepage: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }>; export declare const configAccountSchema: z.ZodObject<{ balance: z.ZodObject<{ amount: z.ZodString; units: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; units: string; }, { amount: string; units: string; }>; }, "strip", z.ZodTypeAny, { balance: { amount: string; units: string; }; }, { balance: { amount: string; units: string; }; }>; export declare const sandboxAccountSchema: z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const sandboxAccountsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; export declare const configEnvironmentFileV2Schema: z.ZodObject<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">>; export declare const networkAccountConfigSchema: z.ZodObject<{ publicKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodOptional<z.ZodString>; privateKey: z.ZodOptional<z.ZodString>; mnemonic: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }>; export declare const sandboxAccountConfigSchema: z.ZodObject<{ encryptedKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodString; secretKey: z.ZodString; }, "strip", z.ZodTypeAny, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }>; export declare const sandboxConfigSchema: z.ZodObject<{ label: z.ZodString; rpcUrl: z.ZodString; protocol: z.ZodOptional<z.ZodString>; plugin: z.ZodOptional<z.ZodString>; blockTime: z.ZodOptional<z.ZodNumber>; baking: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"disabled">]>>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{ encryptedKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodString; secretKey: z.ZodString; }, "strip", z.ZodTypeAny, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }>, z.ZodString]>>>; tzkt: z.ZodOptional<z.ZodObject<{ disableAutostartWithSandbox: z.ZodOptional<z.ZodBoolean>; postgresqlPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; apiPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }>>; annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }>; export declare const scaffoldConfigSchema: z.ZodObject<{ postInit: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { postInit?: string | undefined; }, { postInit?: string | undefined; }>; export declare const persistentStateSchema: z.ZodObject<{ operations: z.ZodRecord<z.ZodString, z.ZodObject<{ hash: z.ZodString; time: z.ZodNumber; output: z.ZodOptional<z.ZodUnknown>; }, "strip", z.ZodTypeAny, { hash: string; time: number; output?: unknown; }, { hash: string; time: number; output?: unknown; }>>; tasks: z.ZodRecord<z.ZodString, z.ZodObject<{ task: z.ZodString; plugin: z.ZodString; time: z.ZodNumber; output: z.ZodOptional<z.ZodUnknown>; }, "strip", z.ZodTypeAny, { plugin: string; task: string; time: number; output?: unknown; }, { plugin: string; task: string; time: number; output?: unknown; }>>; }, "strip", z.ZodTypeAny, { tasks: Record<string, { plugin: string; task: string; time: number; output?: unknown; }>; operations: Record<string, { hash: string; time: number; output?: unknown; }>; }, { tasks: Record<string, { plugin: string; task: string; time: number; output?: unknown; }>; operations: Record<string, { hash: string; time: number; output?: unknown; }>; }>; export declare const networkConfigSchema: z.ZodObject<{ label: z.ZodString; rpcUrl: z.ZodString; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ publicKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodOptional<z.ZodString>; privateKey: z.ZodOptional<z.ZodString>; mnemonic: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }>>>; faucet: z.ZodOptional<z.ZodObject<{ pkh: z.ZodString; mnemonic: z.ZodArray<z.ZodString, "many">; email: z.ZodString; password: z.ZodString; amount: z.ZodString; activation_code: z.ZodString; }, "strip", z.ZodTypeAny, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }>>; }, "strip", z.ZodTypeAny, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }>; export declare const configFileV1Schema: z.ZodObject<{ language: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>>; plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>; name: z.ZodString; }, "strip", z.ZodTypeAny, { type: "npm" | "binary" | "deno"; name: string; }, { type: "npm" | "binary" | "deno"; name: string; }>, "many">>; contractsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>; artifactsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>; network: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ label: z.ZodString; rpcUrl: z.ZodString; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ publicKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodOptional<z.ZodString>; privateKey: z.ZodOptional<z.ZodString>; mnemonic: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }>>>; faucet: z.ZodOptional<z.ZodObject<{ pkh: z.ZodString; mnemonic: z.ZodArray<z.ZodString, "many">; email: z.ZodString; password: z.ZodString; amount: z.ZodString; activation_code: z.ZodString; }, "strip", z.ZodTypeAny, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }, { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; }>>; }, "strip", z.ZodTypeAny, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }>>>; sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ label: z.ZodString; rpcUrl: z.ZodString; protocol: z.ZodOptional<z.ZodString>; plugin: z.ZodOptional<z.ZodString>; blockTime: z.ZodOptional<z.ZodNumber>; baking: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"disabled">]>>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{ encryptedKey: z.ZodOptional<z.ZodString>; publicKeyHash: z.ZodString; secretKey: z.ZodString; }, "strip", z.ZodTypeAny, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }, { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }>, z.ZodString]>>>; tzkt: z.ZodOptional<z.ZodObject<{ disableAutostartWithSandbox: z.ZodOptional<z.ZodBoolean>; postgresqlPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; apiPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }, { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; }>>; annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }>>>; environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{ networks: z.ZodArray<z.ZodString, "many">; sandboxes: z.ZodArray<z.ZodString, "many">; storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>; }, "strip", z.ZodTypeAny, { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }, { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }>, z.ZodString]>>>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ sourceFile: z.ZodString; hash: z.ZodString; }, "strip", z.ZodTypeAny, { sourceFile: string; hash: string; }, { sourceFile: string; hash: string; }>>>; metadata: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; projectDescription: z.ZodOptional<z.ZodString>; authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; license: z.ZodOptional<z.ZodString>; homepage: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { sandbox?: Record<string, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }> | undefined; language?: "en" | "fr" | undefined; metadata?: { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; } | undefined; artifactsDir?: string | undefined; contractsDir?: string | undefined; contracts?: Record<string, { sourceFile: string; hash: string; }> | undefined; plugins?: { type: "npm" | "binary" | "deno"; name: string; }[] | undefined; accounts?: Record<string, string> | undefined; environment?: Record<string, string | { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }> | undefined; network?: Record<string, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }> | undefined; }, { sandbox?: Record<string, { label: string; rpcUrl: string; plugin?: string | undefined; accounts?: Record<string, string | { publicKeyHash: string; secretKey: string; encryptedKey?: string | undefined; }> | undefined; protocol?: string | undefined; blockTime?: number | undefined; baking?: "enabled" | "disabled" | undefined; tzkt?: { disableAutostartWithSandbox?: boolean | undefined; postgresqlPort?: number | undefined; apiPort?: number | undefined; } | undefined; annotations?: Record<string, unknown> | undefined; }> | undefined; language?: "en" | "fr" | undefined; metadata?: { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; } | undefined; artifactsDir?: string | undefined; contractsDir?: string | undefined; contracts?: Record<string, { sourceFile: string; hash: string; }> | undefined; plugins?: { type: "npm" | "binary" | "deno"; name: string; }[] | undefined; accounts?: Record<string, string> | undefined; environment?: Record<string, string | { networks: string[]; sandboxes: string[]; aliases?: Record<string, Record<string, string>> | undefined; storage?: Record<string, string> | undefined; }> | undefined; network?: Record<string, { label: string; rpcUrl: string; accounts?: Record<string, { mnemonic?: string | undefined; publicKey?: string | undefined; publicKeyHash?: string | undefined; privateKey?: string | undefined; }> | undefined; faucet?: { pkh: string; mnemonic: string[]; email: string; password: string; amount: string; activation_code: string; } | undefined; }> | undefined; }>; export declare const configFileV2Schema: z.ZodObject<{ version: z.ZodString; language: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>>; metadata: z.ZodOptional<z.ZodObject<{ name: z.ZodOptional<z.ZodString>; projectDescription: z.ZodOptional<z.ZodString>; authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; license: z.ZodOptional<z.ZodString>; homepage: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }, { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; }>>; artifactsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>; contractsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ balance: z.ZodObject<{ amount: z.ZodString; units: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; units: string; }, { amount: string; units: string; }>; }, "strip", z.ZodTypeAny, { balance: { amount: string; units: string; }; }, { balance: { amount: string; units: string; }; }>>>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ sourceFile: z.ZodString; hash: z.ZodString; }, "strip", z.ZodTypeAny, { sourceFile: string; hash: string; }, { sourceFile: string; hash: string; }>>>; environmentDefault: z.ZodOptional<z.ZodString>; environments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">>>>; plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>; name: z.ZodString; }, "strip", z.ZodTypeAny, { type: "npm" | "binary" | "deno"; name: string; }, { type: "npm" | "binary" | "deno"; name: string; }>, "many">>; }, "strip", z.ZodTypeAny, { version: string; language?: "en" | "fr" | undefined; metadata?: { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; } | undefined; artifactsDir?: string | undefined; contractsDir?: string | undefined; contracts?: Record<string, { sourceFile: string; hash: string; }> | undefined; plugins?: { type: "npm" | "binary" | "deno"; name: string; }[] | undefined; accounts?: Record<string, { balance: { amount: string; units: string; }; }> | undefined; environmentDefault?: string | undefined; environments?: Record<string, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">> | undefined; }, { version: string; language?: "en" | "fr" | undefined; metadata?: { name?: string | undefined; projectDescription?: string | undefined; authors?: string[] | undefined; license?: string | undefined; homepage?: string | undefined; } | undefined; artifactsDir?: string | undefined; contractsDir?: string | undefined; contracts?: Record<string, { sourceFile: string; hash: string; }> | undefined; plugins?: { type: "npm" | "binary" | "deno"; name: string; }[] | undefined; accounts?: Record<string, { balance: { amount: string; units: string; }; }> | undefined; environmentDefault?: string | undefined; environments?: Record<string, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ type: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>>; accountDefault: z.ZodOptional<z.ZodAny>; contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { address?: string | undefined; }, { address?: string | undefined; }>>>; }, z.ZodTypeAny, "passthrough">> | undefined; }>; export de