import { BuildBlockMode } from '@acala-network/chopsticks-core'; import type { Options } from 'yargs'; import { ZodNativeEnum, type ZodRawShape, type ZodTypeAny, z } from 'zod'; export declare const zHex: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>; export declare const zHash: z.ZodIntersection>; export declare const configSchema: z.ZodObject<{ addr: z.ZodOptional, z.ZodString]>>; host: z.ZodOptional, z.ZodString]>>; port: z.ZodDefault; endpoint: z.ZodOptional]>>; block: z.ZodOptional>; 'build-block-mode': z.ZodDefault>; 'import-storage': z.ZodOptional; 'allow-unresolved-imports': z.ZodOptional; 'mock-signature-host': z.ZodOptional; 'max-memory-block-count': z.ZodOptional; db: z.ZodOptional; 'save-blocks': z.ZodOptional; 'wasm-override': z.ZodOptional; genesis: z.ZodOptional; tokenDecimals: z.ZodOptional]>>; tokenSymbol: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }, { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }>; genesis: z.ZodObject<{ raw: z.ZodObject<{ top: z.ZodRecord; }, "strip", z.ZodTypeAny, { top: Record; }, { top: Record; }>; }, "strip", z.ZodTypeAny, { raw: { top: Record; }; }, { raw: { top: Record; }; }>; }, "strip", ZodTypeAny, { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; }, { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; }>]>>; 'chain-spec': z.ZodOptional; tokenDecimals: z.ZodOptional]>>; tokenSymbol: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }, { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }>; genesis: z.ZodObject<{ raw: z.ZodObject<{ top: z.ZodRecord; }, "strip", z.ZodTypeAny, { top: Record; }, { top: Record; }>; }, "strip", z.ZodTypeAny, { raw: { top: Record; }; }, { raw: { top: Record; }; }>; }, "strip", ZodTypeAny, { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; }, { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; }>]>>; timestamp: z.ZodOptional; 'registered-types': z.ZodOptional; 'runtime-log-level': z.ZodOptional; 'offchain-worker': z.ZodOptional; resume: z.ZodOptional>, z.ZodNumber, z.ZodBoolean]>>; 'process-queued-messages': z.ZodOptional; 'prefetch-storages': z.ZodOptional; 'rpc-timeout': z.ZodOptional; }, "strip", ZodTypeAny, { port: number; 'build-block-mode': BuildBlockMode; addr?: string | undefined; host?: string | undefined; endpoint?: string | string[] | undefined; block?: string | number | null | undefined; 'import-storage'?: any; 'allow-unresolved-imports'?: boolean | undefined; 'mock-signature-host'?: boolean | undefined; 'max-memory-block-count'?: number | undefined; db?: string | undefined; 'save-blocks'?: boolean | undefined; 'wasm-override'?: string | undefined; genesis?: string | { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; } | undefined; 'chain-spec'?: string | { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; } | undefined; timestamp?: number | undefined; 'registered-types'?: any; 'runtime-log-level'?: number | undefined; 'offchain-worker'?: boolean | undefined; resume?: number | boolean | `0x${string}` | undefined; 'process-queued-messages'?: boolean | undefined; 'prefetch-storages'?: any; 'rpc-timeout'?: number | undefined; }, { addr?: string | undefined; host?: string | undefined; port?: number | undefined; endpoint?: string | string[] | undefined; block?: string | number | null | undefined; 'build-block-mode'?: BuildBlockMode | undefined; 'import-storage'?: any; 'allow-unresolved-imports'?: boolean | undefined; 'mock-signature-host'?: boolean | undefined; 'max-memory-block-count'?: number | undefined; db?: string | undefined; 'save-blocks'?: boolean | undefined; 'wasm-override'?: string | undefined; genesis?: string | { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; } | undefined; 'chain-spec'?: string | { name: string; id: string; properties: { ss58Format?: number | undefined; tokenDecimals?: number | number[] | undefined; tokenSymbol?: string | string[] | undefined; }; genesis: { raw: { top: Record; }; }; } | undefined; timestamp?: number | undefined; 'registered-types'?: any; 'runtime-log-level'?: number | undefined; 'offchain-worker'?: boolean | undefined; resume?: number | boolean | `0x${string}` | undefined; 'process-queued-messages'?: boolean | undefined; 'prefetch-storages'?: any; 'rpc-timeout'?: number | undefined; }>; export type Config = z.infer; export declare const getYargsOptions: (zodShape: ZodRawShape) => { [x: string]: Options; }; export declare const fetchConfig: (path: string) => Promise;