import { E, M, OT, S, T } from '@contentlayer/utils/effect'; import * as esbuild from 'esbuild'; export declare const EsbuildWatcherTypeId: unique symbol; export type EsbuildWatcherTypeId = typeof EsbuildWatcherTypeId; export declare abstract class EsbuildWatcher { readonly [EsbuildWatcherTypeId]: EsbuildWatcherTypeId; } export type BuildResult = esbuild.BuildResult; export type Plugin = esbuild.Plugin; export type EsbuildError = UnknownEsbuildError | KnownEsbuildError; declare const UnknownEsbuildError_base: import("@effect-ts/system/Case").CaseConstructorTagged<"UnknownEsbuildError", "_tag">; export declare class UnknownEsbuildError extends UnknownEsbuildError_base<{ readonly error: unknown; }> { toString: () => string; } declare const KnownEsbuildError_base: import("@effect-ts/system/Case").CaseConstructorTagged<"KnownEsbuildError", "_tag">; export declare class KnownEsbuildError extends KnownEsbuildError_base<{ readonly error: esbuild.Message | esbuild.Message[]; }> { toString: () => string; } export declare const make: (buildOptions: esbuild.BuildOptions) => T.Effect; export declare const subscribe: (self: EsbuildWatcher) => M.Managed>>; export declare const makeAndSubscribeManaged: (buildOptions: esbuild.BuildOptions) => M.Managed>>; export declare const makeAndSubscribe: (buildOptions: esbuild.BuildOptions) => S.Stream>; export declare const shutdown: (self: EsbuildWatcher) => T.Effect; export declare const esbuildOnce: (buildOptions: esbuild.BuildOptions) => T.Effect; export {}; //# sourceMappingURL=esbuild.d.ts.map