/**
* Represents a description of how to modify the path to a configuration
* value.
*
* @since 2.0.0
* @category models
*/
export type PathPatch = Empty | AndThen | MapName | Nested | Unnested;
/**
* @since 2.0.0
* @category models
*/
export interface Empty {
readonly _tag: "Empty";
}
/**
* @since 2.0.0
* @category models
*/
export interface AndThen {
readonly _tag: "AndThen";
readonly first: PathPatch;
readonly second: PathPatch;
}
/**
* @since 2.0.0
* @category models
*/
export interface MapName {
readonly _tag: "MapName";
f(string: string): string;
}
/**
* @since 2.0.0
* @category models
*/
export interface Nested {
readonly _tag: "Nested";
readonly name: string;
}
/**
* @since 2.0.0
* @category models
*/
export interface Unnested {
readonly _tag: "Unnested";
readonly name: string;
}
/**
* @since 2.0.0
* @category constructors
*/
export declare const empty: PathPatch;
/**
* @since 2.0.0
* @category constructors
*/
export declare const andThen: {
/**
* @since 2.0.0
* @category constructors
*/
(that: PathPatch): (self: PathPatch) => PathPatch;
/**
* @since 2.0.0
* @category constructors
*/
(self: PathPatch, that: PathPatch): PathPatch;
};
/**
* @since 2.0.0
* @category constructors
*/
export declare const mapName: {
/**
* @since 2.0.0
* @category constructors
*/
(f: (string: string) => string): (self: PathPatch) => PathPatch;
/**
* @since 2.0.0
* @category constructors
*/
(self: PathPatch, f: (string: string) => string): PathPatch;
};
/**
* @since 2.0.0
* @category constructors
*/
export declare const nested: {
/**
* @since 2.0.0
* @category constructors
*/
(name: string): (self: PathPatch) => PathPatch;
/**
* @since 2.0.0
* @category constructors
*/
(self: PathPatch, name: string): PathPatch;
};
/**
* @since 2.0.0
* @category constructors
*/
export declare const unnested: {
/**
* @since 2.0.0
* @category constructors
*/
(name: string): (self: PathPatch) => PathPatch;
/**
* @since 2.0.0
* @category constructors
*/
(self: PathPatch, name: string): PathPatch;
};
//# sourceMappingURL=ConfigProviderPathPatch.d.ts.map