import * as Context from "effect/Context";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
import type * as Model from "./Model.ts";
declare const ManifestContextError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "ManifestContextError";
} & Readonly<A>;
export declare class ManifestContextError extends ManifestContextError_base<{
    readonly message: string;
    readonly cause?: unknown;
    readonly file?: string;
}> {
}
export interface DatasetContext {
    metadata: Model.DatasetMetadata;
    manifest: Model.DatasetManifest;
}
export declare const ManifestContext: Context.Tag<DatasetContext, DatasetContext>;
export declare const layerFromConfigFile: (file: Option.Option<string>) => Layer.Layer<DatasetContext, ManifestContextError, import("@effect/platform/Path").Path | import("@effect/platform/FileSystem").FileSystem | import("./api/Admin.ts").Admin>;
export {};
//# sourceMappingURL=ManifestContext.d.ts.map