import { FileCollection } from "@vizhub/viz-types"; export type Licence = string; export interface PackageJson { dependencies?: { [key: string]: string; }; vizhub?: { libraries?: { [key: string]: VizHubLibraryConfig; }; }; license?: Licence | { type: string; }; } export interface Dependency { name: string; version: string; } export interface VizHubLibraryConfig { path?: string; global?: string; } export interface VizHubLibraryConfigs { [key: string]: VizHubLibraryConfig; } export declare const packageJSON: (files: FileCollection) => PackageJson; export declare const dependencies: (files: FileCollection) => { [key: string]: string; }; export declare const getConfiguredLibraries: (files: FileCollection) => { [key: string]: VizHubLibraryConfig; }; export declare const dependencySource: ({ name, version }: Dependency, libraries: VizHubLibraryConfigs, cdn?: string) => string; export declare const getLicense: (files: FileCollection) => string | { type: string; } | undefined; export declare const getConfiguredGlobals: (pkg: PackageJson) => Record; export declare const getGlobals: (pkg: PackageJson) => Record; //# sourceMappingURL=packageJson.d.ts.map