UNPKG

@scalar/api-client

Version:

the open source API testing client

9 lines 517 B
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'; /** * Flattens the environment variables array into a key-value object. * If a variable value is a string, use it directly; otherwise, use its default value. * * @returns An object mapping variable names to their resolved values. */ export declare const getEnvironmentVariables: (environment: XScalarEnvironment) => Record<string, string>; //# sourceMappingURL=get-environment-variables.d.ts.map