import { z } from "zod"; /** Zod schema for a single TypeScript compiler diagnostic with file location, severity, and error code. * In compact mode, only file, line, and severity are returned. */ export declare const TscDiagnosticSchema: z.ZodObject<{ file: z.ZodString; line: z.ZodNumber; column: z.ZodOptional; code: z.ZodOptional; severity: z.ZodEnum<{ error: "error"; warning: "warning"; }>; message: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured tsc output including success status, diagnostics array, and error/warning counts. * In compact mode, diagnostics contain only file:line + severity. */ export declare const TscResultSchema: z.ZodObject<{ success: z.ZodBoolean; diagnostics: z.ZodArray; code: z.ZodOptional; severity: z.ZodEnum<{ error: "error"; warning: "warning"; }>; message: z.ZodOptional; }, z.core.$strip>>; totalFiles: z.ZodOptional; emittedFiles: z.ZodOptional>; errors: z.ZodNumber; warnings: z.ZodNumber; error: z.ZodOptional; }, z.core.$strip>; /** Full tsc diagnostic -- always returned by the parser. */ export interface TscDiagnostic { [key: string]: unknown; file: string; line: number; column?: number; code?: number; severity: "error" | "warning"; message?: string; } /** Full tsc result -- always returned by the parser. */ export interface TscResult { [key: string]: unknown; success: boolean; diagnostics: TscDiagnostic[]; totalFiles?: number; emittedFiles?: string[]; errors: number; warnings: number; error?: string; } /** Zod schema for structured build command output with success status, duration, errors, and warnings. * In compact mode, error/warning arrays are omitted. */ export declare const BuildResultSchema: z.ZodObject<{ success: z.ZodBoolean; exitCode: z.ZodOptional; duration: z.ZodNumber; errors: z.ZodOptional>; warnings: z.ZodOptional>; stdout: z.ZodOptional; stderr: z.ZodOptional; }, z.core.$strip>; /** Full build result -- always returned by the parser. */ export interface BuildResult { [key: string]: unknown; success: boolean; exitCode?: number; duration: number; errors?: string[]; warnings?: string[]; stdout?: string; stderr?: string; } /** Zod schema for a single esbuild error diagnostic. */ export declare const EsbuildErrorSchema: z.ZodObject<{ file: z.ZodOptional; line: z.ZodOptional; column: z.ZodOptional; message: z.ZodString; }, z.core.$strip>; /** Zod schema for a single esbuild warning diagnostic. */ export declare const EsbuildWarningSchema: z.ZodObject<{ file: z.ZodOptional; line: z.ZodOptional; message: z.ZodString; }, z.core.$strip>; /** Zod schema for a single metafile entry with byte size. */ export declare const MetafileEntrySchema: z.ZodObject<{ bytes: z.ZodNumber; }, z.core.$strip>; /** Zod schema for esbuild metafile output with inputs and outputs maps. */ export declare const EsbuildMetafileSchema: z.ZodObject<{ inputs: z.ZodRecord>; outputs: z.ZodRecord>; }, z.core.$strip>; /** Zod schema for structured esbuild output including errors, warnings, output files, and duration. * In compact mode, arrays are omitted; only success and duration are returned. */ export declare const EsbuildResultSchema: z.ZodObject<{ success: z.ZodBoolean; errors: z.ZodOptional; line: z.ZodOptional; column: z.ZodOptional; message: z.ZodString; }, z.core.$strip>>>; warnings: z.ZodOptional; line: z.ZodOptional; message: z.ZodString; }, z.core.$strip>>>; outputFiles: z.ZodOptional>; duration: z.ZodNumber; metafile: z.ZodOptional>; outputs: z.ZodRecord>; }, z.core.$strip>>; }, z.core.$strip>; /** Full esbuild error -- always returned by the parser. */ export interface EsbuildError { [key: string]: unknown; file?: string; line?: number; column?: number; message: string; } /** Full esbuild warning -- always returned by the parser. */ export interface EsbuildWarning { [key: string]: unknown; file?: string; line?: number; message: string; } /** Metafile entry with byte size. */ export interface MetafileEntry { bytes: number; } /** Esbuild metafile with inputs and outputs. */ export interface EsbuildMetafile { inputs: Record; outputs: Record; } /** Full esbuild result -- always returned by the parser. */ export interface EsbuildResult { [key: string]: unknown; success: boolean; errors?: EsbuildError[]; warnings?: EsbuildWarning[]; outputFiles?: string[]; duration: number; metafile?: EsbuildMetafile; } /** Zod schema for a single Vite build output file entry with name, size string, and normalized byte size. */ export declare const ViteOutputFileSchema: z.ZodObject<{ file: z.ZodString; size: z.ZodString; sizeBytes: z.ZodOptional; gzipSize: z.ZodOptional; gzipBytes: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured Vite production build output with files, sizes, and duration. * In compact mode, arrays are omitted; only success and duration are returned. */ export declare const ViteBuildResultSchema: z.ZodObject<{ success: z.ZodBoolean; duration: z.ZodNumber; outputs: z.ZodOptional; gzipSize: z.ZodOptional; gzipBytes: z.ZodOptional; }, z.core.$strip>>>; errors: z.ZodOptional>; warnings: z.ZodOptional>; }, z.core.$strip>; /** Full Vite output file entry. */ export interface ViteOutputFile { [key: string]: unknown; file: string; size: string; sizeBytes?: number; gzipSize?: string; gzipBytes?: number; } /** Full Vite build result -- always returned by the parser. */ export interface ViteBuildResult { [key: string]: unknown; success: boolean; duration: number; outputs?: ViteOutputFile[]; errors?: string[]; warnings?: string[]; } /** Zod schema for a single webpack asset entry. */ export declare const WebpackAssetSchema: z.ZodObject<{ name: z.ZodString; size: z.ZodNumber; }, z.core.$strip>; /** Zod schema for a single webpack chunk entry. */ export declare const WebpackChunkSchema: z.ZodObject<{ id: z.ZodOptional>; names: z.ZodOptional>; entry: z.ZodOptional; files: z.ZodOptional>; }, z.core.$strip>; /** Zod schema for a webpack profile module entry with name and timing. */ export declare const WebpackProfileModuleSchema: z.ZodObject<{ name: z.ZodString; time: z.ZodNumber; }, z.core.$strip>; /** Zod schema for webpack profile data. */ export declare const WebpackProfileSchema: z.ZodObject<{ modules: z.ZodArray>; }, z.core.$strip>; /** Zod schema for structured webpack build output with assets, errors, warnings, and module count. * In compact mode, arrays are omitted; only success, duration, and modules are returned. */ export declare const WebpackResultSchema: z.ZodObject<{ success: z.ZodBoolean; duration: z.ZodNumber; assets: z.ZodOptional>>; chunks: z.ZodOptional>; names: z.ZodOptional>; entry: z.ZodOptional; files: z.ZodOptional>; }, z.core.$strip>>>; errors: z.ZodOptional>; warnings: z.ZodOptional>; modules: z.ZodOptional; profile: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** Full webpack asset entry. */ export interface WebpackAsset { [key: string]: unknown; name: string; size: number; } /** Webpack profile module entry. */ export interface WebpackProfileModule { name: string; time: number; } /** Webpack profile data. */ export interface WebpackProfile { modules: WebpackProfileModule[]; } /** Full webpack result -- always returned by the parser. */ export interface WebpackResult { [key: string]: unknown; success: boolean; duration: number; assets?: WebpackAsset[]; chunks?: Array<{ id?: string | number; names?: string[]; entry?: boolean; files?: string[]; }>; errors?: string[]; warnings?: string[]; modules?: number; profile?: WebpackProfile; } /** Zod schema for a single Turbo task result entry with package name, task, status, duration, and cache info. */ export declare const TurboTaskSchema: z.ZodObject<{ package: z.ZodString; task: z.ZodString; status: z.ZodEnum<{ pass: "pass"; fail: "fail"; }>; duration: z.ZodOptional; durationMs: z.ZodOptional; cache: z.ZodOptional>; }, z.core.$strip>; /** Zod schema for structured Turbo run output with per-package task results and summary counts. * In compact mode, the tasks array is omitted; only summary counts are returned. */ export declare const TurboResultSchema: z.ZodObject<{ success: z.ZodBoolean; duration: z.ZodNumber; tasks: z.ZodOptional; duration: z.ZodOptional; durationMs: z.ZodOptional; cache: z.ZodOptional>; }, z.core.$strip>>>; totalTasks: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; cached: z.ZodNumber; summary: z.ZodOptional>; }, z.core.$strip>; /** Full turbo task entry. */ export interface TurboTask { [key: string]: unknown; package: string; task: string; status: "pass" | "fail"; duration?: string; durationMs?: number; cache?: "hit" | "miss"; } /** Full turbo result -- always returned by the parser. */ export interface TurboResult { [key: string]: unknown; success: boolean; duration: number; tasks?: TurboTask[]; totalTasks: number; passed: number; failed: number; cached: number; summary?: Record; } /** Zod schema for a single Nx task result entry. */ export declare const NxTaskSchema: z.ZodObject<{ project: z.ZodString; target: z.ZodString; status: z.ZodEnum<{ success: "success"; failure: "failure"; skipped: "skipped"; }>; duration: z.ZodOptional; cache: z.ZodOptional>; }, z.core.$strip>; /** Zod schema for structured Nx output with per-project task results and summary. * In compact mode, tasks array is omitted; only summary counts are returned. */ export declare const NxResultSchema: z.ZodObject<{ success: z.ZodBoolean; duration: z.ZodNumber; tasks: z.ZodOptional; duration: z.ZodOptional; cache: z.ZodOptional>; }, z.core.$strip>>>; passed: z.ZodNumber; failed: z.ZodNumber; cached: z.ZodNumber; affectedProjects: z.ZodOptional>; }, z.core.$strip>; /** Full Nx task entry. */ export interface NxTask { [key: string]: unknown; project: string; target: string; status: "success" | "failure" | "skipped"; duration?: number; cache?: "local" | "remote" | "miss"; } /** Full Nx result -- always returned by the parser. */ export interface NxResult { [key: string]: unknown; success: boolean; duration: number; tasks?: NxTask[]; passed: number; failed: number; cached: number; affectedProjects?: string[]; } /** Zod schema for a single Lerna package entry. */ export declare const LernaPackageSchema: z.ZodObject<{ name: z.ZodString; version: z.ZodString; location: z.ZodOptional; private: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured Lerna output with action, packages, and optional script output. * In compact mode, location is omitted from packages; only name and version are returned. */ export declare const LernaResultSchema: z.ZodObject<{ success: z.ZodBoolean; action: z.ZodEnum<{ version: "version"; list: "list"; run: "run"; changed: "changed"; }>; packages: z.ZodOptional; private: z.ZodOptional; }, z.core.$strip>>>; output: z.ZodOptional; errors: z.ZodOptional>; duration: z.ZodNumber; }, z.core.$strip>; /** Full Lerna package entry. */ export interface LernaPackage { [key: string]: unknown; name: string; version: string; location?: string; private?: boolean; } /** Full Lerna result -- always returned by the parser. */ export interface LernaResult { [key: string]: unknown; success: boolean; action: "list" | "run" | "changed" | "version"; packages?: LernaPackage[]; output?: string; errors?: string[]; duration: number; } /** Zod schema for a single Rollup bundle entry. */ export declare const RollupBundleSchema: z.ZodObject<{ input: z.ZodString; output: z.ZodString; format: z.ZodOptional; size: z.ZodOptional; }, z.core.$strip>; /** Zod schema for a single Rollup error diagnostic. */ export declare const RollupErrorSchema: z.ZodObject<{ file: z.ZodOptional; line: z.ZodOptional; column: z.ZodOptional; message: z.ZodString; }, z.core.$strip>; /** Zod schema for structured Rollup output with bundles, errors, warnings, and duration. * In compact mode, arrays are omitted; only success and duration are returned. */ export declare const RollupResultSchema: z.ZodObject<{ success: z.ZodBoolean; bundles: z.ZodOptional; size: z.ZodOptional; }, z.core.$strip>>>; errors: z.ZodOptional; line: z.ZodOptional; column: z.ZodOptional; message: z.ZodString; }, z.core.$strip>>>; warnings: z.ZodOptional>; duration: z.ZodNumber; }, z.core.$strip>; /** Full Rollup bundle entry. */ export interface RollupBundle { [key: string]: unknown; input: string; output: string; format?: string; size?: number; } /** Full Rollup error entry. */ export interface RollupError { [key: string]: unknown; file?: string; line?: number; column?: number; message: string; } /** Full Rollup result -- always returned by the parser. */ export interface RollupResult { [key: string]: unknown; success: boolean; bundles?: RollupBundle[]; errors?: RollupError[]; warnings?: string[]; duration: number; } //# sourceMappingURL=index.d.ts.map