import { Context, Effect, Layer } from "effect"; import { VendorNotesFailed } from "../domain/errors.ts"; import type { VendoredRepo } from "../domain/vendor-state.ts"; export declare const VENDOR_NOTES_REF = "refs/notes/ingraft"; export interface WriteVendorNoteParams { readonly cwd: string; readonly note: string; readonly oid: string; } export interface SyncVendorNotesParams { readonly cwd: string; readonly repos: ReadonlyArray; } export declare const vendorNotePayload: (repo: VendoredRepo) => string; export interface VendorNotesShape { readonly sync: (params: SyncVendorNotesParams) => Effect.Effect; readonly write: (params: WriteVendorNoteParams) => Effect.Effect; } declare const VendorNotes_base: Context.ServiceClass; export declare class VendorNotes extends VendorNotes_base { } export declare const VendorNotesLive: Layer.Layer; export {}; //# sourceMappingURL=vendor-notes.d.ts.map