import esbuild from "esbuild"; import { z } from "zod"; declare global { namespace NodeJS { interface ProcessEnv { API_URL: string; AWS_ENDPOINT?: string; CLERK_PUBLISHABLE_KEY: string; ENCRYPTION_KEY: string; GITHUB_TOKEN: string; NODE_ENV: "development" | "production" | "test"; ORIGIN: string; STRIPE_PUBLIC_KEY: string; STRIPE_SECRET_KEY: string; PACKAGE_NAME: string; SVIX_SECRET: string; } } } export type CliOpts = Record; declare const cliArgs: z.ZodObject<{ out: z.ZodOptional; root: z.ZodOptional; external: z.ZodOptional]>>; include: z.ZodOptional]>>; css: z.ZodOptional; format: z.ZodOptional>; mirror: z.ZodOptional; analyze: z.ZodOptional; max: z.ZodOptional; finish: z.ZodOptional; entry: z.ZodOptional]>>; extends: z.ZodOptional; }, "strip", z.ZodTypeAny, { out?: string | undefined; root?: string | undefined; external?: string | string[] | undefined; include?: string | string[] | undefined; css?: string | undefined; format?: "iife" | "cjs" | "esm" | undefined; mirror?: string | undefined; analyze?: boolean | undefined; max?: string | undefined; finish?: string | undefined; entry?: string | string[] | undefined; extends?: string | undefined; }, { out?: string | undefined; root?: string | undefined; external?: string | string[] | undefined; include?: string | string[] | undefined; css?: string | undefined; format?: "iife" | "cjs" | "esm" | undefined; mirror?: string | undefined; analyze?: boolean | undefined; max?: string | undefined; finish?: string | undefined; entry?: string | string[] | undefined; extends?: string | undefined; }>; export type CliArgs = z.infer; type Builder = (opts: esbuild.BuildOptions) => Promise; declare const compile: ({ builder, opts, }: { opts: CliOpts; builder?: Builder | undefined; }) => Promise; export default compile;