UNPKG

@altostra/core

Version:

Core library for shared types and logic

15 lines (14 loc) 616 B
import type { Maybe } from "../Maybe"; import type { Dict } from "../Types"; export interface IParameterStoreLayer { get(param: string): Promise<Maybe<string>>; getParameters(params: string[]): Promise<Dict<string>>; getParametersByPath(path: string): Promise<Dict<string>>; } export declare class ParametersManager implements IParameterStoreLayer { private readonly _stores; constructor(...stores: IParameterStoreLayer[]); get(param: string): Promise<Maybe<string>>; getParameters(params: string[]): Promise<Dict<string>>; getParametersByPath(path: string): Promise<Dict<string>>; }