import type { Meta } from './meta.js'; export type DeployCheckOptions = { /** Deployed worker URL (e.g. `https://example.astrale.ai`). */ url: string; /** * Expected `meta.schemaHash` — the hash of the domain's install graph (via * `buildInstallGraphHash(domain, url)`). REQUIRED to verify schema drift: when * the worker advertises a `schemaHash` but this is absent, the check fails * loudly rather than silently "passing" an unverified deploy. Per-domain * deploy scripts compute it (`buildInstallGraphHash(...)`) and pass it. */ expectedSchemaHash?: string; /** * Path to the SDK repo used to read `sdkCommit`. If omitted and * `workspaceRoot` is provided, defaults to `/sdk`. */ sdkRepoPath?: string; /** Astrale workspace root — enables auto-resolution of `sdkRepoPath` (`/sdk`). */ workspaceRoot?: string; /** Sink for progress output. Defaults to `console.log`. */ log?: (line: string) => void; }; /** * Validate a deployed worker against local state by fetching `/meta` and * verifying sdkCommit / schemaHash / JWKS reachability. * * Throws on any mismatch. Returns `Meta` on success. */ export declare function deployCheck(opts: DeployCheckOptions): Promise; //# sourceMappingURL=check.d.ts.map