import * as ConfigProvider from "effect/ConfigProvider"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; import { type PlatformError } from "./Error.js"; import * as FileSystem from "./FileSystem.js"; import * as Path from "./Path.js"; /** * @since 1.0.0 * @category constructors */ export declare const fromFileTree: (options?: { readonly rootDirectory?: string; }) => Effect.Effect; /** * Add the file tree ConfigProvider to the environment, as a fallback to the current ConfigProvider. * * @since 1.0.0 * @category layers */ export declare const layerFileTreeAdd: (options?: { readonly rootDirectory?: string; }) => Layer.Layer; /** * Add the file tree ConfigProvider to the environment, replacing the current ConfigProvider. * * @since 1.0.0 * @category layers */ export declare const layerFileTree: (options?: { readonly rootDirectory?: string; }) => Layer.Layer; /** * Create a dotenv ConfigProvider. * * @category constructors * @since 1.0.0 */ export declare const fromDotEnv: (paths: string) => Effect.Effect; /** * Add the dotenv ConfigProvider to the environment, as a fallback to the current ConfigProvider. * If the file is not found, a debug log is produced and empty layer is returned. * * @since 1.0.0 * @category layers */ export declare const layerDotEnvAdd: (path: string) => Layer.Layer; /** * Add the dotenv ConfigProvider to the environment, replacing the current ConfigProvider. * * @since 1.0.0 * @category layers */ export declare const layerDotEnv: (path: string) => Layer.Layer; //# sourceMappingURL=PlatformConfigProvider.d.ts.map