import ts from "typescript"; import type { PublicActorContract } from "../wire/public-contract.js"; import { DeclarationCompiler } from "./declarations.js"; import { Persistence } from "./types.js"; import type { ActorAnalysis, ActorSchema, CompilerOptions, SdkSymbols } from "./types.js"; declare class ActorCompiler { private readonly system; private readonly declarations; constructor(system?: ts.System, declarations?: Pick); check(entrypoint: string, options?: CompilerOptions): readonly ActorSchema[]; compile(entrypoint: string, options?: CompilerOptions): { contract: import("../wire/contract.js").SocketContract; actorName: string; fields: readonly import("./types.js").ActorFieldSchema[]; sandbox?: import("../index.js").ComputeOptions; interleaveMethods?: readonly string[]; }[]; compileContract(entrypoint: string, options?: CompilerOptions): PublicActorContract; compileDeployment(entrypoint: string, options?: CompilerOptions): { schemas: { contract: import("../wire/contract.js").SocketContract; actorName: string; fields: readonly import("./types.js").ActorFieldSchema[]; sandbox?: import("../index.js").ComputeOptions; interleaveMethods?: readonly string[]; }[]; contract: PublicActorContract; sources: Map; }; private describe; private analyze; private open; private readTSConfiguration; private tsCompilerOptions; private resolveSdk; private compilerHost; private throwIfThereAreAnyErrors; } declare function analyzeActors(program: ts.Program, entrypoint: ts.SourceFile, sdk: SdkSymbols): ActorAnalysis; declare function resolveSdkSymbols(checker: ts.TypeChecker, source: ts.SourceFile): SdkSymbols; declare function definitionDiagnostic(node: ts.Node, messageText: string, related?: readonly ts.Node[]): ts.Diagnostic; export { ActorCompiler, analyzeActors, definitionDiagnostic, Persistence, resolveSdkSymbols }; export type { CompilerOptions }; export type { ActorApi, TypeReference, PublicActorContract, RpcContract, RpcMethod, RpcParameter } from "../wire/public-contract.js"; //# sourceMappingURL=actor-compiler.d.ts.map