import { z } from 'zod'; declare const packageJson: z.ZodObject<{ name: z.ZodString; version: z.ZodString; displayName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; version: string; displayName?: string | undefined; }, { name: string; version: string; displayName?: string | undefined; }>; export type PackageJson = z.infer; export declare const parsePackageJson: (content: string) => z.SafeParseSuccess<{ name: string; version: string; displayName?: string | undefined; }> | { error: import("zod-validation-error").ValidationError; success: false; data?: never; }; declare const packageJsonApp: z.ZodObject; }, { dependencies: z.ZodOptional>>; description: z.ZodString; homepage: z.ZodOptional; devDependencies: z.ZodOptional>>; displayName: z.ZodString; engines: z.ZodIntersection>, z.ZodObject<{ nrfconnect: z.ZodString; }, "strip", z.ZodTypeAny, { nrfconnect: string; }, { nrfconnect: string; }>>; nrfConnectForDesktop: z.ZodObject<{ supportedDevices: z.ZodOptional, "atleastone">>; nrfutil: z.ZodOptional>>; nrfutilCore: z.ZodString; html: z.ZodString; fixedSize: z.ZodOptional>; }, "strip", z.ZodTypeAny, { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }, { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }>; files: z.ZodOptional>; peerDependencies: z.ZodOptional>>; repository: z.ZodOptional>; }>, "strip", z.ZodTypeAny, { name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; nrfConnectForDesktop: { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }, { name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; nrfConnectForDesktop: { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }>; export type PackageJsonApp = z.infer; export declare const parsePackageJsonApp: (content: string) => z.SafeParseSuccess<{ name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; nrfConnectForDesktop: { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }> | { error: import("zod-validation-error").ValidationError; success: false; data?: never; }; declare const packageJsonLegacyApp: z.ZodObject; }, { dependencies: z.ZodOptional>>; description: z.ZodString; homepage: z.ZodOptional; devDependencies: z.ZodOptional>>; displayName: z.ZodString; engines: z.ZodIntersection>, z.ZodObject<{ nrfconnect: z.ZodString; }, "strip", z.ZodTypeAny, { nrfconnect: string; }, { nrfconnect: string; }>>; nrfConnectForDesktop: z.ZodObject<{ supportedDevices: z.ZodOptional, "atleastone">>; nrfutil: z.ZodOptional>>; nrfutilCore: z.ZodString; html: z.ZodString; fixedSize: z.ZodOptional>; }, "strip", z.ZodTypeAny, { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }, { nrfutilCore: string; html: string; supportedDevices?: ["PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201", ...("PCA10028" | "PCA10031" | "PCA10040" | "PCA10056" | "PCA10059" | "PCA10090" | "PCA10095" | "PCA10100" | "PCA10121" | "PCA20020" | "PCA20053" | "PCA20035" | "PCA10143" | "PCA10152" | "PCA10153" | "PCA10165" | "PCA20049" | "PCA10171" | "PCA10156" | "PCA10175" | "PCA10184" | "PCA10188" | "PCA10214" | "PCA10201")[]] | undefined; nrfutil?: Record | undefined; fixedSize?: { width: number; height: number; } | undefined; }>; files: z.ZodOptional>; peerDependencies: z.ZodOptional>>; repository: z.ZodOptional>; }>, { nrfConnectForDesktop: z.ZodOptional>; nrfutil: z.ZodOptional>>; nrfutilCore: z.ZodOptional; html: z.ZodOptional; fixedSize: z.ZodOptional>; }, "strip", z.ZodTypeAny, { supportedDevices?: [string, ...string[]] | undefined; nrfutil?: Record | undefined; nrfutilCore?: string | undefined; html?: string | undefined; fixedSize?: { width: number; height: number; } | undefined; }, { supportedDevices?: [string, ...string[]] | undefined; nrfutil?: Record | undefined; nrfutilCore?: string | undefined; html?: string | undefined; fixedSize?: { width: number; height: number; } | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; nrfConnectForDesktop?: { supportedDevices?: [string, ...string[]] | undefined; nrfutil?: Record | undefined; nrfutilCore?: string | undefined; html?: string | undefined; fixedSize?: { width: number; height: number; } | undefined; } | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }, { name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; nrfConnectForDesktop?: { supportedDevices?: [string, ...string[]] | undefined; nrfutil?: Record | undefined; nrfutilCore?: string | undefined; html?: string | undefined; fixedSize?: { width: number; height: number; } | undefined; } | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }>; export type PackageJsonLegacyApp = z.infer; export declare const parsePackageJsonLegacyApp: (content: string) => z.SafeParseSuccess<{ name: string; description: string; version: string; displayName: string; engines: Record & { nrfconnect: string; }; dependencies?: Record | undefined; homepage?: string | undefined; devDependencies?: Record | undefined; nrfConnectForDesktop?: { supportedDevices?: [string, ...string[]] | undefined; nrfutil?: Record | undefined; nrfutilCore?: string | undefined; html?: string | undefined; fixedSize?: { width: number; height: number; } | undefined; } | undefined; files?: string[] | undefined; peerDependencies?: Record | undefined; repository?: { type: string; url: string; } | undefined; }> | { error: import("zod-validation-error").ValidationError; success: false; data?: never; }; export {}; //# sourceMappingURL=packageJson.d.ts.map