UNPKG

449 BTypeScriptView Raw
1import { GlobalsOptions } from '../bundlib-options';
2import { Nullable } from '../helper-types';
3export declare function isValidGlobals(value: unknown): value is GlobalsOptions;
4export declare function normalizeGlobals(globals: GlobalsOptions): Record<string, string> | null;
5export declare function normalizeBuildGlobals(build: Nullable<{
6 globals?: GlobalsOptions;
7}>, def: Record<string, string> | null): Record<string, string> | null;