/** * Clawd Perps Configuration * * 🦾 Viral perpetuals trading CLI for Solana * * @module config */ import { z } from "zod"; import { Commitment } from "@solana/web3.js"; declare const ConfigSchema: z.ZodObject<{ rpcUrl: z.ZodString; programId: z.ZodString; wallet: z.ZodString; commitment: z.ZodDefault>; }, "strip", z.ZodTypeAny, { commitment: "confirmed" | "processed" | "finalized"; programId: string; rpcUrl: string; wallet: string; }, { programId: string; rpcUrl: string; wallet: string; commitment?: "confirmed" | "processed" | "finalized" | undefined; }>; export type Config = z.infer; export interface GlobalFlags { config?: string; rpc?: string; program?: string; wallet?: string; commitment?: Commitment | string; json?: boolean; simulate?: boolean; } /** * Load and validate config, with CLI flag overrides. */ export declare function loadConfig(flags: GlobalFlags): Config; /** * Expand ~ to home directory. */ export declare function expandPath(p: string): string; export {}; //# sourceMappingURL=config.d.ts.map