UNPKG

@altostra/core

Version:

Core library for shared types and logic

11 lines (10 loc) 619 B
import type { Dict, Maybe } from "../Common"; import type { ParameterPath } from "./ParameterPath"; export interface ParameterSpec { paths: ParameterPath[]; } export declare const isParameterSpec: import("@altostra/type-validations").ObjectOfTypeValidation<ParameterSpec>; export declare type ParametersDict = Dict<ParameterSpec>; export declare function hasConflicts(params: Maybe<ParametersDict>): boolean; export declare function hasNoConflicts(params: any): boolean; export declare const isParametersDict: import("@altostra/type-validations").TypeValidation<Record<string | number, ParameterSpec> | undefined>;