import { FileSystem, KeyValueStore, Path } from '@effect/platform';
import { Cause, Effect, Stream } from 'effect';
import { type TypesyncHypergraphMapping, TypesyncHypergraphSchema } from './Model.js';
declare const TypesyncSchemaStreamBuilder_base: Effect.Service.Class<TypesyncSchemaStreamBuilder, "/Hypergraph/cli/services/TypesyncSchemaStreamBuilder", {
    readonly dependencies: readonly [import("effect/Layer").Layer<FileSystem.FileSystem, never, never>, import("effect/Layer").Layer<KeyValueStore.KeyValueStore, never, never>];
    readonly effect: Effect.Effect<{
        readonly hypergraphSchemaStream: (cwd?: string) => Effect.Effect<Stream.Stream<Uint8Array<ArrayBuffer>, never, never>, import("@effect/platform/Error").PlatformError, never>;
        readonly syncSchema: (schema: TypesyncHypergraphSchema) => Effect.Effect<TypesyncHypergraphSchema, import("@effect/platform/Error").PlatformError, never>;
        readonly syncMapping: (schema: TypesyncHypergraphSchema, mapping: TypesyncHypergraphMapping) => Effect.Effect<TypesyncHypergraphSchema, import("@effect/platform/Error").PlatformError, never>;
    }, never, FileSystem.FileSystem | KeyValueStore.KeyValueStore | Path.Path>;
}>;
export declare class TypesyncSchemaStreamBuilder extends TypesyncSchemaStreamBuilder_base {
}
export declare const layer: import("effect/Layer").Layer<TypesyncSchemaStreamBuilder, never, Path.Path>;
declare const MappingLoaderError_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]; }) => Cause.YieldableError & {
    readonly _tag: "/Hypergraph/cli/errors/MappingLoaderError";
} & Readonly<A>;
export declare class MappingLoaderError extends MappingLoaderError_base<{
    readonly cause: unknown;
    readonly message?: string;
}> {
}
export {};
//# sourceMappingURL=Typesync.d.ts.map