import * as Path from "@effect/platform/Path";
import * as Effect from "effect/Effect";
import * as Schema from "effect/Schema";
import * as EvmRpc from "./evm/EvmRpc.ts";
import * as Model from "./Model.ts";
/**
 * The anvil dataset
 */
export declare const dataset: Model.DatasetEvmRpc;
/**
 * The options for running a script on the anvil instance.
 */
export interface ScriptOptions {
    /**
     * The private key to use for the script.
     */
    readonly privateKey?: string | undefined;
    /**
     * The working directory to run the script in.
     */
    readonly workingDirectory?: string | undefined;
}
declare const AnvilError_base: Schema.TaggedErrorClass<AnvilError, "AnvilError", {
    readonly _tag: Schema.tag<"AnvilError">;
} & {
    cause: Schema.optional<typeof Schema.Unknown>;
    message: typeof Schema.String;
}>;
/**
 * Error type for the anvil service.
 */
export declare class AnvilError extends AnvilError_base {
}
/**
 * Runs a script on the anvil instance.
 *
 * @param script - The script to run.
 * @param options - Optional configuration for the script execution.
 * @returns An effect that completes when the script exits.
 */
export declare const script: (script: string, options?: ScriptOptions) => Effect.Effect<void, AnvilError, EvmRpc.EvmRpc | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
export {};
//# sourceMappingURL=Anvil.d.ts.map