import { Effect, FileSystem, Option, Path, Schema } from "effect"; import { GitMetadata, type GitMetadataCommit } from "../services/git-metadata.ts"; import { LocalState } from "../services/local-state.ts"; export declare const VendoredRepoSchema: Schema.Struct<{ readonly name: Schema.String; readonly prefix: Schema.String; readonly url: Schema.String; readonly ref: Schema.String; readonly resolvedRef: Schema.optionalKey; readonly strategy: Schema.Literals; readonly filter: Schema.Struct<{ readonly exclude: Schema.$Array; readonly excludeDirs: Schema.$Array; readonly excludeExtensions: Schema.$Array; readonly include: Schema.$Array; readonly includeDirs: Schema.$Array; readonly maxFileSizeBytes: Schema.NullOr; }>; readonly syncPackage: Schema.optionalKey; readonly sha: Schema.String; readonly date: Schema.String; readonly localOnly: Schema.optionalKey; }>; export type VendoredRepo = typeof VendoredRepoSchema.Type; export interface VendoredLogDiagnostic { readonly record: string; readonly reason: string; } export interface VendoredLogParseResult { readonly repos: ReadonlyArray; readonly diagnostics: ReadonlyArray; } export interface FindVendoredRepoParams { readonly cwd: string; readonly name: string; } export declare const gitLogFormat: string; export declare const parseVendoredLogWithDiagnostics: (stdout: string) => VendoredLogParseResult; export declare const parseVendoredLog: (stdout: string) => ReadonlyArray; export declare const parseVendoredCommitsWithDiagnostics: (commits: ReadonlyArray) => VendoredLogParseResult; export declare const parseVendoredCommits: (commits: ReadonlyArray) => ReadonlyArray; export declare const listVendored: (cwd: string) => Effect.Effect<{ readonly name: string; readonly prefix: string; readonly url: string; readonly ref: string; readonly strategy: "subtree" | "submodule" | "clone-ignore" | "cache-link"; readonly filter: { readonly exclude: readonly string[]; readonly excludeDirs: readonly string[]; readonly excludeExtensions: readonly string[]; readonly include: readonly string[]; readonly includeDirs: readonly string[]; readonly maxFileSizeBytes: number | null; }; readonly sha: string; readonly date: string; readonly resolvedRef?: string; readonly syncPackage?: string; readonly localOnly?: boolean; }[], import("effect/PlatformError").PlatformError, import("../app/runtime.ts").RuntimeConfig | FileSystem.FileSystem | Path.Path | GitMetadata | import("../services/git.ts").Git | LocalState>; export declare const findByName: ({ cwd, name }: FindVendoredRepoParams) => Effect.Effect, import("effect/PlatformError").PlatformError, import("../app/runtime.ts").RuntimeConfig | FileSystem.FileSystem | Path.Path | GitMetadata | import("../services/git.ts").Git | LocalState>; //# sourceMappingURL=vendor-state.d.ts.map