checksumTextFUNCTION
Added in v1.0.1Source
Signature
export declare function checksumText(
value: string
): string;API REFERENCE
Shared Effect runtime services for Sorrell documentation tooling.
export declare function checksumText(
value: string
): string;export declare function logEvent(
event: string,
fields?: LogFields
): Effect<void, never, never>;export declare function makeFixtureCommand(
onRun: (input: FixtureInput) => Effect<void>
): Command<"runtime-fixture", { count: number; name: string }, {}, never, never>;export declare function makePromiseHook<Requirements, LayerError, Value, Error>(
layer: Layer<Requirements, LayerError, never>
): PromiseHook<Value, Error, Requirements>;export declare function packageManagerInfo(
name: PackageManagerName
): PackageManagerInfo;export declare function provideNodeServices<A, E, R>(
program: Effect<A, E, R>
): Effect<A, E, Exclude<R, NodeServices>>;export declare function renderTemplate(
template: string,
values: Readonly<Record<string, TemplateValue>>
): string;export declare function runFixtureCommand(
args: readonly string[],
onRun: (input: FixtureInput) => Effect<void>
): Effect<void, CliError, never>;export declare function selectPackageManager(
packageManager: string | undefined,
lockfiles: readonly string[]
): PackageManagerInfo;export declare class ArchiveService extends Shape<"sorrell/docs-cli/ArchiveService", { createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> }, this> {
constructor(
_: never
): ArchiveService;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/ArchiveService";
Service: { createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<ArchiveService, "sorrell/docs-cli/ArchiveService", { createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> }, never, ArchiveService>;
static Identifier: ArchiveService;
static readonly key: "sorrell/docs-cli/ArchiveService";
static readonly layer: Layer<ArchiveService, never, never>;
static readonly Service: { createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> };
[iterator](): EffectIterator<Effect<{ createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> }, never, ArchiveService>>;
[NodeInspectSymbol](): unknown;
context(
self: {
createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError>
}
): Context<ArchiveService>;
of(
this: void,
self: {
createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError>
}
): { createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>; extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError>
}) => Effect<A, E, R>
): Effect<A, E, ArchiveService | R>;
useSync<A>(
f: (service: {
createTar: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
createZip: (sourceDirectory: string, destination: string) => Effect<void, DocsArchiveError>;
extractZip: (archive: string, destination: string) => Effect<void, DocsArchiveError>
}) => A
): Effect<A, never, ArchiveService>;
}export declare class AtomicDirectoryPromotion extends Shape<"sorrell/docs-cli/AtomicDirectoryPromotion", { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }, this> {
constructor(
_: never
): AtomicDirectoryPromotion;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/AtomicDirectoryPromotion";
Service: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<AtomicDirectoryPromotion, "sorrell/docs-cli/AtomicDirectoryPromotion", { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ promote: (staging: string, target: string) => Effect<void, DocsTargetError> }, never, AtomicDirectoryPromotion>;
static Identifier: AtomicDirectoryPromotion;
static readonly key: "sorrell/docs-cli/AtomicDirectoryPromotion";
static readonly layer: Layer<AtomicDirectoryPromotion, never, never>;
static readonly Service: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> };
[iterator](): EffectIterator<Effect<{ promote: (staging: string, target: string) => Effect<void, DocsTargetError> }, never, AtomicDirectoryPromotion>>;
[NodeInspectSymbol](): unknown;
context(
self: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }
): Context<AtomicDirectoryPromotion>;
of(
this: void,
self: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }
): { promote: (staging: string, target: string) => Effect<void, DocsTargetError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }) => Effect<A, E, R>
): Effect<A, E, AtomicDirectoryPromotion | R>;
useSync<A>(
f: (service: { promote: (staging: string, target: string) => Effect<void, DocsTargetError> }) => A
): Effect<A, never, AtomicDirectoryPromotion>;
}export declare class AtomicWriter extends Shape<"sorrell/docs-cli/AtomicWriter", { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }, this> {
constructor(
_: never
): AtomicWriter;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/AtomicWriter";
Service: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<AtomicWriter, "sorrell/docs-cli/AtomicWriter", { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }, never, AtomicWriter>;
static Identifier: AtomicWriter;
static readonly key: "sorrell/docs-cli/AtomicWriter";
static readonly layer: Layer<AtomicWriter, never, never>;
static readonly Service: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> };
[iterator](): EffectIterator<Effect<{ writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }, never, AtomicWriter>>;
[NodeInspectSymbol](): unknown;
context(
self: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }
): Context<AtomicWriter>;
of(
this: void,
self: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }
): { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }) => Effect<A, E, R>
): Effect<A, E, AtomicWriter | R>;
useSync<A>(
f: (service: { writeText: (path: string, content: string) => Effect<void, DocsAtomicWriteError> }) => A
): Effect<A, never, AtomicWriter>;
}export declare class AutomationOrchestrator extends Shape<"sorrell/docs-cli/AutomationOrchestrator", { parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> }, this> {
constructor(
_: never
): AutomationOrchestrator;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/AutomationOrchestrator";
Service: { parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<AutomationOrchestrator, "sorrell/docs-cli/AutomationOrchestrator", { parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> }, never, AutomationOrchestrator>;
static Identifier: AutomationOrchestrator;
static readonly key: "sorrell/docs-cli/AutomationOrchestrator";
static readonly layer: Layer<AutomationOrchestrator, never, never>;
static readonly Service: { parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> };
[iterator](): EffectIterator<Effect<{ parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> }, never, AutomationOrchestrator>>;
[NodeInspectSymbol](): unknown;
context(
self: {
parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>;
sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError>
}
): Context<AutomationOrchestrator>;
of(
this: void,
self: {
parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>;
sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError>
}
): { parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>; sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>;
sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError>
}) => Effect<A, E, R>
): Effect<A, E, AutomationOrchestrator | R>;
useSync<A>(
f: (service: {
parallel: (effects: readonly Effect<Value, unknown, never>[], concurrency?: number) => Effect<readonly Value[], unknown>;
sequential: (stages: readonly Stage<Value>[]) => Effect<readonly Value[], DocsStageError>
}) => A
): Effect<A, never, AutomationOrchestrator>;
}export declare class ChecksumService extends Shape<"sorrell/docs-cli/ChecksumService", { file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> }, this> {
constructor(
_: never
): ChecksumService;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/ChecksumService";
Service: { file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<ChecksumService, "sorrell/docs-cli/ChecksumService", { file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> }, never, ChecksumService>;
static Identifier: ChecksumService;
static readonly key: "sorrell/docs-cli/ChecksumService";
static readonly layer: Layer<ChecksumService, never, never>;
static readonly Service: { file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> };
[iterator](): EffectIterator<Effect<{ file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> }, never, ChecksumService>>;
[NodeInspectSymbol](): unknown;
context(
self: {
file: (path: string) => Effect<string, DocsFileSystemError>;
text: (value: string) => Effect<string>
}
): Context<ChecksumService>;
of(
this: void,
self: {
file: (path: string) => Effect<string, DocsFileSystemError>;
text: (value: string) => Effect<string>
}
): { file: (path: string) => Effect<string, DocsFileSystemError>; text: (value: string) => Effect<string> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
file: (path: string) => Effect<string, DocsFileSystemError>;
text: (value: string) => Effect<string>
}) => Effect<A, E, R>
): Effect<A, E, ChecksumService | R>;
useSync<A>(
f: (service: {
file: (path: string) => Effect<string, DocsFileSystemError>;
text: (value: string) => Effect<string>
}) => A
): Effect<A, never, ChecksumService>;
}export declare class CommandRunner extends Shape<"sorrell/docs-cli/CommandRunner", { run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> }, this> {
constructor(
_: never
): CommandRunner;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/CommandRunner";
Service: { run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<CommandRunner, "sorrell/docs-cli/CommandRunner", { run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> }, never, CommandRunner>;
static Identifier: CommandRunner;
static readonly key: "sorrell/docs-cli/CommandRunner";
static readonly layer: Layer<CommandRunner, never, never>;
static readonly Service: { run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> };
[iterator](): EffectIterator<Effect<{ run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> }, never, CommandRunner>>;
[NodeInspectSymbol](): unknown;
context(
self: {
run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>;
streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope>
}
): Context<CommandRunner>;
of(
this: void,
self: {
run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>;
streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope>
}
): { run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>; streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>;
streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope>
}) => Effect<A, E, R>
): Effect<A, E, CommandRunner | R>;
useSync<A>(
f: (service: {
run: (command: string, args?: readonly string[], options?: CommandOptions) => Effect<CommandResult, DocsProcessError>;
streamLines: (command: string, args?: readonly string[], options?: CommandOptions) => Stream<string, DocsProcessError, Scope>
}) => A
): Effect<A, never, CommandRunner>;
}export declare class DeploymentEnvironment extends Shape<"sorrell/docs-cli/DeploymentEnvironment", { requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> }, this> {
constructor(
_: never
): DeploymentEnvironment;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/DeploymentEnvironment";
Service: { requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<DeploymentEnvironment, "sorrell/docs-cli/DeploymentEnvironment", { requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> }, never, DeploymentEnvironment>;
static Identifier: DeploymentEnvironment;
static readonly key: "sorrell/docs-cli/DeploymentEnvironment";
static readonly layer: Layer<DeploymentEnvironment, never, never>;
static readonly Service: { requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> };
[iterator](): EffectIterator<Effect<{ requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> }, never, DeploymentEnvironment>>;
[NodeInspectSymbol](): unknown;
context(
self: {
requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>;
requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>;
snapshot: Effect<DeploymentEnvironmentSnapshot>
}
): Context<DeploymentEnvironment>;
of(
this: void,
self: {
requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>;
requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>;
snapshot: Effect<DeploymentEnvironmentSnapshot>
}
): { requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>; requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>; snapshot: Effect<DeploymentEnvironmentSnapshot> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>;
requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>;
snapshot: Effect<DeploymentEnvironmentSnapshot>
}) => Effect<A, E, R>
): Effect<A, E, DeploymentEnvironment | R>;
useSync<A>(
f: (service: {
requireGitHub: Effect<GitHubEnvironment, DocsEnvironmentError>;
requireVercel: Effect<VercelEnvironment, DocsEnvironmentError>;
snapshot: Effect<DeploymentEnvironmentSnapshot>
}) => A
): Effect<A, never, DeploymentEnvironment>;
}export declare class DocsArchiveError extends YieldableError<this> & { _tag: "DocsArchiveError" } & Readonly<{ cause: unknown; operation: string; path: string }> {
constructor(
args: {
cause: unknown;
operation: string;
path: string
}
): DocsArchiveError;
readonly _tag: "DocsArchiveError";
readonly ~effect/Effect: Variance<never, DocsArchiveError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly operation: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsArchiveError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsAtomicWriteError extends YieldableError<this> & { _tag: "DocsAtomicWriteError" } & Readonly<{ cause: unknown; path: string }> {
constructor(
args: {
cause: unknown;
path: string
}
): DocsAtomicWriteError;
readonly _tag: "DocsAtomicWriteError";
readonly ~effect/Effect: Variance<never, DocsAtomicWriteError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsAtomicWriteError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsEnvironmentError extends YieldableError<this> & { _tag: "DocsEnvironmentError" } & Readonly<{ missing: readonly string[]; provider: "github" | "vercel" }> {
constructor(
args: {
missing: readonly string[];
provider: "github" | "vercel"
}
): DocsEnvironmentError;
readonly _tag: "DocsEnvironmentError";
readonly ~effect/Effect: Variance<never, DocsEnvironmentError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause?: unknown;
message: string;
readonly missing: readonly string[];
name: string;
readonly provider: "github" | "vercel";
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsEnvironmentError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsFileSystem extends Shape<"sorrell/docs-cli/DocsFileSystem", { copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> }, this> {
constructor(
_: never
): DocsFileSystem;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/DocsFileSystem";
Service: { copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<DocsFileSystem, "sorrell/docs-cli/DocsFileSystem", { copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> }, never, DocsFileSystem>;
static Identifier: DocsFileSystem;
static readonly key: "sorrell/docs-cli/DocsFileSystem";
static readonly layer: Layer<DocsFileSystem, never, never>;
static readonly Service: { copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> };
[iterator](): EffectIterator<Effect<{ copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> }, never, DocsFileSystem>>;
[NodeInspectSymbol](): unknown;
context(
self: {
copy: (from: string, to: string, options?: {
overwrite?: boolean;
preserveTimestamps?: boolean
}) => Effect<void, DocsFileSystemError>;
exists: (path: string) => Effect<boolean, DocsFileSystemError>;
isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>;
makeDirectory: (path: string) => Effect<void, DocsFileSystemError>;
makeTempDirectoryScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
makeTempFileScoped: (options?: {
directory?: string;
prefix?: string;
suffix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>;
readText: (path: string) => Effect<string, DocsFileSystemError>;
remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>;
rename: (from: string, to: string) => Effect<void, DocsFileSystemError>;
writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>;
writeText: (path: string, content: string) => Effect<void, DocsFileSystemError>
}
): Context<DocsFileSystem>;
of(
this: void,
self: {
copy: (from: string, to: string, options?: {
overwrite?: boolean;
preserveTimestamps?: boolean
}) => Effect<void, DocsFileSystemError>;
exists: (path: string) => Effect<boolean, DocsFileSystemError>;
isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>;
makeDirectory: (path: string) => Effect<void, DocsFileSystemError>;
makeTempDirectoryScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
makeTempFileScoped: (options?: {
directory?: string;
prefix?: string;
suffix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>;
readText: (path: string) => Effect<string, DocsFileSystemError>;
remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>;
rename: (from: string, to: string) => Effect<void, DocsFileSystemError>;
writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>;
writeText: (path: string, content: string) => Effect<void, DocsFileSystemError>
}
): { copy: (from: string, to: string, options?: { overwrite?: boolean; preserveTimestamps?: boolean }) => Effect<void, DocsFileSystemError>; exists: (path: string) => Effect<boolean, DocsFileSystemError>; isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>; makeDirectory: (path: string) => Effect<void, DocsFileSystemError>; makeTempDirectoryScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope>; makeTempFileScoped: (options?: { directory?: string; prefix?: string; suffix?: string }) => Effect<string, DocsFileSystemError, Scope>; readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>; readText: (path: string) => Effect<string, DocsFileSystemError>; remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>; rename: (from: string, to: string) => Effect<void, DocsFileSystemError>; writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>; writeText: (path: string, content: string) => Effect<void, DocsFileSystemError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
copy: (from: string, to: string, options?: {
overwrite?: boolean;
preserveTimestamps?: boolean
}) => Effect<void, DocsFileSystemError>;
exists: (path: string) => Effect<boolean, DocsFileSystemError>;
isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>;
makeDirectory: (path: string) => Effect<void, DocsFileSystemError>;
makeTempDirectoryScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
makeTempFileScoped: (options?: {
directory?: string;
prefix?: string;
suffix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>;
readText: (path: string) => Effect<string, DocsFileSystemError>;
remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>;
rename: (from: string, to: string) => Effect<void, DocsFileSystemError>;
writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>;
writeText: (path: string, content: string) => Effect<void, DocsFileSystemError>
}) => Effect<A, E, R>
): Effect<A, E, DocsFileSystem | R>;
useSync<A>(
f: (service: {
copy: (from: string, to: string, options?: {
overwrite?: boolean;
preserveTimestamps?: boolean
}) => Effect<void, DocsFileSystemError>;
exists: (path: string) => Effect<boolean, DocsFileSystemError>;
isDirectory: (path: string) => Effect<boolean, DocsFileSystemError>;
makeDirectory: (path: string) => Effect<void, DocsFileSystemError>;
makeTempDirectoryScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
makeTempFileScoped: (options?: {
directory?: string;
prefix?: string;
suffix?: string
}) => Effect<string, DocsFileSystemError, Scope>;
readDirectory: (path: string) => Effect<readonly string[], DocsFileSystemError>;
readText: (path: string) => Effect<string, DocsFileSystemError>;
remove: (path: string, options?: { recursive?: boolean }) => Effect<void, DocsFileSystemError>;
rename: (from: string, to: string) => Effect<void, DocsFileSystemError>;
writeBytes: (path: string, content: Uint8Array) => Effect<void, DocsFileSystemError>;
writeText: (path: string, content: string) => Effect<void, DocsFileSystemError>
}) => A
): Effect<A, never, DocsFileSystem>;
}export declare class DocsFileSystemError extends YieldableError<this> & { _tag: "DocsFileSystemError" } & Readonly<{ cause: unknown; operation: string; path: string }> {
constructor(
args: {
cause: unknown;
operation: string;
path: string
}
): DocsFileSystemError;
readonly _tag: "DocsFileSystemError";
readonly ~effect/Effect: Variance<never, DocsFileSystemError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly operation: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsFileSystemError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsIntegrationError extends YieldableError<this> & { _tag: "DocsIntegrationError" } & Readonly<{ cause: unknown; operation: string; provider: "git" | "github" | "vercel" }> {
constructor(
args: {
cause: unknown;
operation: string;
provider: "git" | "github" | "vercel"
}
): DocsIntegrationError;
readonly _tag: "DocsIntegrationError";
readonly ~effect/Effect: Variance<never, DocsIntegrationError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly operation: string;
readonly provider: "git" | "github" | "vercel";
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsIntegrationError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsManifestError extends YieldableError<this> & { _tag: "DocsManifestError" } & Readonly<{ cause: unknown; path: string }> {
constructor(
args: {
cause: unknown;
path: string
}
): DocsManifestError;
readonly _tag: "DocsManifestError";
readonly ~effect/Effect: Variance<never, DocsManifestError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsManifestError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsPath extends Shape<"sorrell/docs-cli/DocsPath", { basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string }, this> {
constructor(
_: never
): DocsPath;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/DocsPath";
Service: { basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<DocsPath, "sorrell/docs-cli/DocsPath", { basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string }, never, DocsPath>;
static Identifier: DocsPath;
static readonly key: "sorrell/docs-cli/DocsPath";
static readonly layer: Layer<DocsPath, never, never>;
static readonly Service: { basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string };
[iterator](): EffectIterator<Effect<{ basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string }, never, DocsPath>>;
[NodeInspectSymbol](): unknown;
context(
self: {
basename: (path: string) => string;
dirname: (path: string) => string;
join: (paths: readonly string[]) => string;
resolve: (paths: readonly string[]) => string
}
): Context<DocsPath>;
of(
this: void,
self: {
basename: (path: string) => string;
dirname: (path: string) => string;
join: (paths: readonly string[]) => string;
resolve: (paths: readonly string[]) => string
}
): { basename: (path: string) => string; dirname: (path: string) => string; join: (paths: readonly string[]) => string; resolve: (paths: readonly string[]) => string };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
basename: (path: string) => string;
dirname: (path: string) => string;
join: (paths: readonly string[]) => string;
resolve: (paths: readonly string[]) => string
}) => Effect<A, E, R>
): Effect<A, E, DocsPath | R>;
useSync<A>(
f: (service: {
basename: (path: string) => string;
dirname: (path: string) => string;
join: (paths: readonly string[]) => string;
resolve: (paths: readonly string[]) => string
}) => A
): Effect<A, never, DocsPath>;
}export declare class DocsProcessError extends YieldableError<this> & { _tag: "DocsProcessError" } & Readonly<{ args: readonly string[]; cause: unknown; command: string; exitCode: number | undefined; stderr: string; stdout: string }> {
constructor(
args: {
args: readonly string[];
cause: unknown;
command: string;
exitCode: number | undefined;
stderr: string;
stdout: string
}
): DocsProcessError;
readonly _tag: "DocsProcessError";
readonly ~effect/Effect: Variance<never, DocsProcessError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
readonly args: readonly string[];
cause: unknown;
readonly command: string;
readonly exitCode: number | undefined;
message: string;
name: string;
stack?: string;
readonly stderr: string;
readonly stdout: string;
[iterator](): EffectIterator<Effect<never, DocsProcessError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsStageError extends YieldableError<this> & { _tag: "DocsStageError" } & Readonly<{ cause: unknown; stage: string }> {
constructor(
args: {
cause: unknown;
stage: string
}
): DocsStageError;
readonly _tag: "DocsStageError";
readonly ~effect/Effect: Variance<never, DocsStageError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
stack?: string;
readonly stage: string;
[iterator](): EffectIterator<Effect<never, DocsStageError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsTargetError extends YieldableError<this> & { _tag: "DocsTargetError" } & Readonly<{ reason: string; target: string }> {
constructor(
args: {
reason: string;
target: string
}
): DocsTargetError;
readonly _tag: "DocsTargetError";
readonly ~effect/Effect: Variance<never, DocsTargetError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause?: unknown;
message: string;
name: string;
readonly reason: string;
stack?: string;
readonly target: string;
[iterator](): EffectIterator<Effect<never, DocsTargetError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsTemplateError extends YieldableError<this> & { _tag: "DocsTemplateError" } & Readonly<{ cause: unknown; path: string }> {
constructor(
args: {
cause: unknown;
path: string
}
): DocsTemplateError;
readonly _tag: "DocsTemplateError";
readonly ~effect/Effect: Variance<never, DocsTemplateError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsTemplateError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsTerminal extends Shape<"sorrell/docs-cli/DocsTerminal", { columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> }, this> {
constructor(
_: never
): DocsTerminal;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/DocsTerminal";
Service: { columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<DocsTerminal, "sorrell/docs-cli/DocsTerminal", { columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> }, never, DocsTerminal>;
static Identifier: DocsTerminal;
static readonly key: "sorrell/docs-cli/DocsTerminal";
static readonly layer: Layer<DocsTerminal, never, never>;
static readonly Service: { columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> };
[iterator](): EffectIterator<Effect<{ columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> }, never, DocsTerminal>>;
[NodeInspectSymbol](): unknown;
context(
self: {
columns: Effect<number>;
display: (text: string) => Effect<void, DocsTerminalError>;
readLine: Effect<string, DocsTerminalError>;
rows: Effect<number>
}
): Context<DocsTerminal>;
of(
this: void,
self: {
columns: Effect<number>;
display: (text: string) => Effect<void, DocsTerminalError>;
readLine: Effect<string, DocsTerminalError>;
rows: Effect<number>
}
): { columns: Effect<number>; display: (text: string) => Effect<void, DocsTerminalError>; readLine: Effect<string, DocsTerminalError>; rows: Effect<number> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
columns: Effect<number>;
display: (text: string) => Effect<void, DocsTerminalError>;
readLine: Effect<string, DocsTerminalError>;
rows: Effect<number>
}) => Effect<A, E, R>
): Effect<A, E, DocsTerminal | R>;
useSync<A>(
f: (service: {
columns: Effect<number>;
display: (text: string) => Effect<void, DocsTerminalError>;
readLine: Effect<string, DocsTerminalError>;
rows: Effect<number>
}) => A
): Effect<A, never, DocsTerminal>;
}export declare class DocsTerminalError extends YieldableError<this> & { _tag: "DocsTerminalError" } & Readonly<{ cause: unknown; operation: string }> {
constructor(
args: {
cause: unknown;
operation: string
}
): DocsTerminalError;
readonly _tag: "DocsTerminalError";
readonly ~effect/Effect: Variance<never, DocsTerminalError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly operation: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsTerminalError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class DocsWorkspaceError extends YieldableError<this> & { _tag: "DocsWorkspaceError" } & Readonly<{ cause: unknown; operation: string; path: string }> {
constructor(
args: {
cause: unknown;
operation: string;
path: string
}
): DocsWorkspaceError;
readonly _tag: "DocsWorkspaceError";
readonly ~effect/Effect: Variance<never, DocsWorkspaceError, never>;
readonly ~effect/ErrorReporter/attributes?: ReadonlyRecord<string, unknown>;
readonly ~effect/ErrorReporter/ignore?: boolean;
readonly ~effect/ErrorReporter/severity?: Severity;
readonly ~effect/Runtime/errorExitCode?: number;
readonly ~effect/Runtime/errorReported?: boolean;
cause: unknown;
message: string;
name: string;
readonly operation: string;
readonly path: string;
stack?: string;
[iterator](): EffectIterator<Effect<never, DocsWorkspaceError, never>>;
[NodeInspectSymbol](): unknown;
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
}export declare class GitHubService extends Shape<"sorrell/docs-cli/GitHubService", { createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> }, this> {
constructor(
_: never
): GitHubService;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/GitHubService";
Service: { createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<GitHubService, "sorrell/docs-cli/GitHubService", { createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> }, never, GitHubService>;
static Identifier: GitHubService;
static readonly key: "sorrell/docs-cli/GitHubService";
static readonly layer: Layer<GitHubService, never, never>;
static readonly Service: { createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> };
[iterator](): EffectIterator<Effect<{ createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> }, never, GitHubService>>;
[NodeInspectSymbol](): unknown;
context(
self: {
createRepository: (name: string, directory: string, options?: {
description?: string;
visibility?: "public" | "private"
}) => Effect<string, DocsIntegrationError>;
viewRepository: (repository: string) => Effect<string, DocsIntegrationError>
}
): Context<GitHubService>;
of(
this: void,
self: {
createRepository: (name: string, directory: string, options?: {
description?: string;
visibility?: "public" | "private"
}) => Effect<string, DocsIntegrationError>;
viewRepository: (repository: string) => Effect<string, DocsIntegrationError>
}
): { createRepository: (name: string, directory: string, options?: { description?: string; visibility?: "public" | "private" }) => Effect<string, DocsIntegrationError>; viewRepository: (repository: string) => Effect<string, DocsIntegrationError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
createRepository: (name: string, directory: string, options?: {
description?: string;
visibility?: "public" | "private"
}) => Effect<string, DocsIntegrationError>;
viewRepository: (repository: string) => Effect<string, DocsIntegrationError>
}) => Effect<A, E, R>
): Effect<A, E, GitHubService | R>;
useSync<A>(
f: (service: {
createRepository: (name: string, directory: string, options?: {
description?: string;
visibility?: "public" | "private"
}) => Effect<string, DocsIntegrationError>;
viewRepository: (repository: string) => Effect<string, DocsIntegrationError>
}) => A
): Effect<A, never, GitHubService>;
}export declare class GitService extends Shape<"sorrell/docs-cli/GitService", { remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> }, this> {
constructor(
_: never
): GitService;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/GitService";
Service: { remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<GitService, "sorrell/docs-cli/GitService", { remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> }, never, GitService>;
static Identifier: GitService;
static readonly key: "sorrell/docs-cli/GitService";
static readonly layer: Layer<GitService, never, never>;
static readonly Service: { remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> };
[iterator](): EffectIterator<Effect<{ remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> }, never, GitService>>;
[NodeInspectSymbol](): unknown;
context(
self: {
remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>;
revision: (directory: string) => Effect<string, DocsIntegrationError>;
status: (directory: string) => Effect<GitStatus, DocsIntegrationError>
}
): Context<GitService>;
of(
this: void,
self: {
remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>;
revision: (directory: string) => Effect<string, DocsIntegrationError>;
status: (directory: string) => Effect<GitStatus, DocsIntegrationError>
}
): { remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>; revision: (directory: string) => Effect<string, DocsIntegrationError>; status: (directory: string) => Effect<GitStatus, DocsIntegrationError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>;
revision: (directory: string) => Effect<string, DocsIntegrationError>;
status: (directory: string) => Effect<GitStatus, DocsIntegrationError>
}) => Effect<A, E, R>
): Effect<A, E, GitService | R>;
useSync<A>(
f: (service: {
remote: (directory: string, remote?: string) => Effect<string, DocsIntegrationError>;
revision: (directory: string) => Effect<string, DocsIntegrationError>;
status: (directory: string) => Effect<GitStatus, DocsIntegrationError>
}) => A
): Effect<A, never, GitService>;
}export declare class ManifestTracker extends Shape<"sorrell/docs-cli/ManifestTracker", { read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> }, this> {
constructor(
_: never
): ManifestTracker;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/ManifestTracker";
Service: { read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<ManifestTracker, "sorrell/docs-cli/ManifestTracker", { read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> }, never, ManifestTracker>;
static Identifier: ManifestTracker;
static readonly key: "sorrell/docs-cli/ManifestTracker";
static readonly layer: Layer<ManifestTracker, never, never>;
static readonly Service: { read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> };
[iterator](): EffectIterator<Effect<{ read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> }, never, ManifestTracker>>;
[NodeInspectSymbol](): unknown;
context(
self: {
read: (path: string) => Effect<GeneratedManifest, DocsManifestError>;
write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError>
}
): Context<ManifestTracker>;
of(
this: void,
self: {
read: (path: string) => Effect<GeneratedManifest, DocsManifestError>;
write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError>
}
): { read: (path: string) => Effect<GeneratedManifest, DocsManifestError>; write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
read: (path: string) => Effect<GeneratedManifest, DocsManifestError>;
write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError>
}) => Effect<A, E, R>
): Effect<A, E, ManifestTracker | R>;
useSync<A>(
f: (service: {
read: (path: string) => Effect<GeneratedManifest, DocsManifestError>;
write: (path: string, manifest: GeneratedManifest) => Effect<void, DocsManifestError>
}) => A
): Effect<A, never, ManifestTracker>;
}export declare class NetworkRetry extends Shape<"sorrell/docs-cli/NetworkRetry", { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }, this> {
constructor(
_: never
): NetworkRetry;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/NetworkRetry";
Service: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<NetworkRetry, "sorrell/docs-cli/NetworkRetry", { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }, never, NetworkRetry>;
static Identifier: NetworkRetry;
static readonly key: "sorrell/docs-cli/NetworkRetry";
static readonly layer: Layer<NetworkRetry, never, never>;
static readonly Service: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> };
[iterator](): EffectIterator<Effect<{ run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }, never, NetworkRetry>>;
[NodeInspectSymbol](): unknown;
context(
self: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }
): Context<NetworkRetry>;
of(
this: void,
self: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }
): { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }) => Effect<A, E, R>
): Effect<A, E, NetworkRetry | R>;
useSync<A>(
f: (service: { run: (effect: Effect<Value, Error, Requirements>, isRetryable: (error: Error) => boolean, options?: RetryOptions) => Effect<Value, Error, Requirements> }) => A
): Effect<A, never, NetworkRetry>;
}export declare class PackageManagerSelection extends Shape<"sorrell/docs-cli/PackageManagerSelection", { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }, this> {
constructor(
_: never
): PackageManagerSelection;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/PackageManagerSelection";
Service: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<PackageManagerSelection, "sorrell/docs-cli/PackageManagerSelection", { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }, never, PackageManagerSelection>;
static Identifier: PackageManagerSelection;
static readonly key: "sorrell/docs-cli/PackageManagerSelection";
static readonly layer: Layer<PackageManagerSelection, never, never>;
static readonly Service: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> };
[iterator](): EffectIterator<Effect<{ select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }, never, PackageManagerSelection>>;
[NodeInspectSymbol](): unknown;
context(
self: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }
): Context<PackageManagerSelection>;
of(
this: void,
self: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }
): { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }) => Effect<A, E, R>
): Effect<A, E, PackageManagerSelection | R>;
useSync<A>(
f: (service: { select: (root: string, packageManager?: string) => Effect<PackageManagerInfo, DocsFileSystemError> }) => A
): Effect<A, never, PackageManagerSelection>;
}export declare class SafeTargetValidation extends Shape<"sorrell/docs-cli/SafeTargetValidation", { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }, this> {
constructor(
_: never
): SafeTargetValidation;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/SafeTargetValidation";
Service: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<SafeTargetValidation, "sorrell/docs-cli/SafeTargetValidation", { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }, never, SafeTargetValidation>;
static Identifier: SafeTargetValidation;
static readonly key: "sorrell/docs-cli/SafeTargetValidation";
static readonly layer: Layer<SafeTargetValidation, never, never>;
static readonly Service: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> };
[iterator](): EffectIterator<Effect<{ validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }, never, SafeTargetValidation>>;
[NodeInspectSymbol](): unknown;
context(
self: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }
): Context<SafeTargetValidation>;
of(
this: void,
self: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }
): { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }) => Effect<A, E, R>
): Effect<A, E, SafeTargetValidation | R>;
useSync<A>(
f: (service: { validateEmpty: (target: string, parent?: string) => Effect<string, DocsTargetError> }) => A
): Effect<A, never, SafeTargetValidation>;
}export declare class TempDirectory extends Shape<"sorrell/docs-cli/TempDirectory", { makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> }, this> {
constructor(
_: never
): TempDirectory;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/TempDirectory";
Service: { makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<TempDirectory, "sorrell/docs-cli/TempDirectory", { makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> }, never, TempDirectory>;
static Identifier: TempDirectory;
static readonly key: "sorrell/docs-cli/TempDirectory";
static readonly layer: Layer<TempDirectory, never, never>;
static readonly Service: { makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> };
[iterator](): EffectIterator<Effect<{ makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> }, never, TempDirectory>>;
[NodeInspectSymbol](): unknown;
context(
self: { makeScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope> }
): Context<TempDirectory>;
of(
this: void,
self: { makeScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope> }
): { makeScoped: (options?: { directory?: string; prefix?: string }) => Effect<string, DocsFileSystemError, Scope> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { makeScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope> }) => Effect<A, E, R>
): Effect<A, E, TempDirectory | R>;
useSync<A>(
f: (service: { makeScoped: (options?: {
directory?: string;
prefix?: string
}) => Effect<string, DocsFileSystemError, Scope> }) => A
): Effect<A, never, TempDirectory>;
}export declare class TemplateRenderer extends Shape<"sorrell/docs-cli/TemplateRenderer", { render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> }, this> {
constructor(
_: never
): TemplateRenderer;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/TemplateRenderer";
Service: { render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<TemplateRenderer, "sorrell/docs-cli/TemplateRenderer", { render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> }, never, TemplateRenderer>;
static Identifier: TemplateRenderer;
static readonly key: "sorrell/docs-cli/TemplateRenderer";
static readonly layer: Layer<TemplateRenderer, never, never>;
static readonly Service: { render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> };
[iterator](): EffectIterator<Effect<{ render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> }, never, TemplateRenderer>>;
[NodeInspectSymbol](): unknown;
context(
self: {
render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>;
renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError>
}
): Context<TemplateRenderer>;
of(
this: void,
self: {
render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>;
renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError>
}
): { render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>; renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>;
renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError>
}) => Effect<A, E, R>
): Effect<A, E, TemplateRenderer | R>;
useSync<A>(
f: (service: {
render: (template: string, values: Readonly<Record<string, TemplateValue>>) => Effect<string, DocsTemplateError>;
renderFile: (source: string, target: string, values: Readonly<Record<string, TemplateValue>>) => Effect<void, DocsTemplateError>
}) => A
): Effect<A, never, TemplateRenderer>;
}export declare class VercelService extends Shape<"sorrell/docs-cli/VercelService", { alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> }, this> {
constructor(
_: never
): VercelService;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/VercelService";
Service: { alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<VercelService, "sorrell/docs-cli/VercelService", { alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> }, never, VercelService>;
static Identifier: VercelService;
static readonly key: "sorrell/docs-cli/VercelService";
static readonly layer: Layer<VercelService, never, never>;
static readonly Service: { alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> };
[iterator](): EffectIterator<Effect<{ alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> }, never, VercelService>>;
[NodeInspectSymbol](): unknown;
context(
self: {
alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>;
deploy: (directory: string, options?: {
name?: string;
production?: boolean;
team?: string
}) => Effect<VercelDeploymentResult, DocsIntegrationError>;
inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>;
promote: (deployment: string) => Effect<void, DocsIntegrationError>;
remove: (deployment: string) => Effect<void, DocsIntegrationError>;
rollback: (deployment?: string) => Effect<void, DocsIntegrationError>
}
): Context<VercelService>;
of(
this: void,
self: {
alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>;
deploy: (directory: string, options?: {
name?: string;
production?: boolean;
team?: string
}) => Effect<VercelDeploymentResult, DocsIntegrationError>;
inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>;
promote: (deployment: string) => Effect<void, DocsIntegrationError>;
remove: (deployment: string) => Effect<void, DocsIntegrationError>;
rollback: (deployment?: string) => Effect<void, DocsIntegrationError>
}
): { alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>; deploy: (directory: string, options?: { name?: string; production?: boolean; team?: string }) => Effect<VercelDeploymentResult, DocsIntegrationError>; inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>; promote: (deployment: string) => Effect<void, DocsIntegrationError>; remove: (deployment: string) => Effect<void, DocsIntegrationError>; rollback: (deployment?: string) => Effect<void, DocsIntegrationError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: {
alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>;
deploy: (directory: string, options?: {
name?: string;
production?: boolean;
team?: string
}) => Effect<VercelDeploymentResult, DocsIntegrationError>;
inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>;
promote: (deployment: string) => Effect<void, DocsIntegrationError>;
remove: (deployment: string) => Effect<void, DocsIntegrationError>;
rollback: (deployment?: string) => Effect<void, DocsIntegrationError>
}) => Effect<A, E, R>
): Effect<A, E, VercelService | R>;
useSync<A>(
f: (service: {
alias: (deployment: string, alias: string) => Effect<void, DocsIntegrationError>;
deploy: (directory: string, options?: {
name?: string;
production?: boolean;
team?: string
}) => Effect<VercelDeploymentResult, DocsIntegrationError>;
inspect: (deployment: string) => Effect<VercelDeploymentInspection, DocsIntegrationError>;
promote: (deployment: string) => Effect<void, DocsIntegrationError>;
remove: (deployment: string) => Effect<void, DocsIntegrationError>;
rollback: (deployment?: string) => Effect<void, DocsIntegrationError>
}) => A
): Effect<A, never, VercelService>;
}export declare class WorkspaceDiscovery extends Shape<"sorrell/docs-cli/WorkspaceDiscovery", { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }, this> {
constructor(
_: never
): WorkspaceDiscovery;
readonly ~effect/Context/Service: "~effect/Context/Service";
readonly key: "sorrell/docs-cli/WorkspaceDiscovery";
Service: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> };
static [ignoreSymbol]?: {};
static [typeSymbol]?: unknown;
static [unifySymbol]?: EffectUnify<ServiceClass<WorkspaceDiscovery, "sorrell/docs-cli/WorkspaceDiscovery", { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }>>;
static readonly ~effect/Context/Service: "~effect/Context/Service";
static readonly ~effect/Effect: Variance<{ discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }, never, WorkspaceDiscovery>;
static Identifier: WorkspaceDiscovery;
static readonly key: "sorrell/docs-cli/WorkspaceDiscovery";
static readonly layer: Layer<WorkspaceDiscovery, never, never>;
static readonly Service: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> };
[iterator](): EffectIterator<Effect<{ discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }, never, WorkspaceDiscovery>>;
[NodeInspectSymbol](): unknown;
context(
self: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }
): Context<WorkspaceDiscovery>;
of(
this: void,
self: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }
): { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> };
pipe<A>(
this: A
): A;
toJSON(): unknown;
toString(): string;
use<A, E, R>(
f: (service: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }) => Effect<A, E, R>
): Effect<A, E, WorkspaceDiscovery | R>;
useSync<A>(
f: (service: { discover: (root: string) => Effect<WorkspaceDescription, DocsWorkspaceError> }) => A
): Effect<A, never, WorkspaceDiscovery>;
}export declare interface CommandResult {
readonly args: readonly string[];
readonly command: string;
readonly exitCode: number;
readonly stderr: string;
readonly stdout: string;
}export declare interface DeploymentEnvironmentSnapshot {
readonly githubRepositoryConfigured: boolean;
readonly githubTokenConfigured: boolean;
readonly vercelOrgConfigured: boolean;
readonly vercelTokenConfigured: boolean;
}export declare interface FixtureInput {
readonly count: number;
readonly name: string;
}export declare interface GeneratedManifest {
readonly entries: readonly GeneratedManifestEntry[];
readonly generatedAt: string;
readonly version: 1;
}export declare interface GeneratedManifestEntry {
readonly checksum: string;
readonly path: string;
}export declare interface GitHubEnvironment {
readonly repository: string;
readonly token: Redacted;
}export declare interface GitStatus {
readonly clean: boolean;
readonly output: string;
}export declare interface LogFields extends Readonly<Record<string, boolean | number | string>> {
}export declare interface PackageManagerInfo {
readonly executable: string;
readonly installArguments: readonly string[];
readonly name: PackageManagerName;
readonly runArguments: (script: string, args?: readonly string[]) => readonly string[];
}export declare interface PromiseHook<Value, Error, Requirements> {
readonly dispose: () => Promise<void>;
readonly run: (effect: Effect<Value, Error, Requirements>) => Promise<Value>;
}export declare interface RetryOptions {
readonly delay?: `${number} millis` | `${number} seconds`;
readonly maxRetries?: number;
}export declare interface Stage<Value> {
readonly name: string;
readonly run: Effect<Value, unknown>;
}export declare interface VercelDeploymentInspection {
readonly deploymentId: string;
readonly raw: string;
readonly state: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "UNKNOWN";
readonly url: string;
}export declare interface VercelDeploymentResult {
readonly deploymentId: string;
readonly raw: string;
readonly url: string;
}export declare interface VercelEnvironment {
readonly orgId: string;
readonly projectId: string | undefined;
readonly token: Redacted;
}export declare interface WorkspaceDescription {
readonly packageManager: string | undefined;
readonly packages: readonly WorkspacePackage[];
readonly root: string;
}export declare interface WorkspacePackage {
readonly directory: string;
readonly manifest: Readonly<Record<string, unknown>>;
readonly name: string;
readonly private: boolean;
readonly version: string | undefined;
}export declare type CommandOptions = Omit<ChildProcess.CommandOptions, "additionalFds" | "shell" | "stderr" | "stdin" | "stdout">;export declare type PackageManagerName = "npm" | "pnpm" | "yarn" | "bun";export declare type TemplateValue = string | number | boolean;export declare const docsAutomationLayer: Layer<DeploymentEnvironment | DocsFileSystem | DocsPath | DocsTerminal | TempDirectory | AtomicWriter | CommandRunner | WorkspaceDiscovery | PackageManagerSelection | TemplateRenderer | SafeTargetValidation | AtomicDirectoryPromotion | ManifestTracker | ChecksumService | GitService | GitHubService | VercelService | ArchiveService | NetworkRetry | AutomationOrchestrator, never, never>;export declare const docsCliLayer: Layer<DocsFileSystem | DocsPath | DocsTerminal | TempDirectory | AtomicWriter | CommandRunner, never, never>;export declare const nodeServicesLayer: Layer<NodeServices, never, never>;export declare const runMain: { (options?: { disableErrorReporting?: boolean; teardown?: Teardown }): (effect: Effect<A, E>) => void; (effect: Effect<A, E>, options?: { disableErrorReporting?: boolean; teardown?: Teardown }): void };