export interface DocWorkspace { /** The `doc` argument to send: a path form is reduced to its published name. */ doc: unknown; /** Hex sha256 of the sandbox copy of index.html, when one was found. */ workspaceSha256?: string; } /** The workspace `render_doc` reads from, or undefined outside a SAS sandbox. */ export declare function sasWorkdir(env?: NodeJS.ProcessEnv, home?: string): string | undefined; /** * Where the sandbox copy of `doc` lives and the name it is published under. * Undefined `workspaceSha256` (outside a sandbox, a name the server rejects * anyway, a path outside the workspace, or no such file) keeps the server's * old behaviour of rendering the published copy unchecked. */ export declare function resolveDocWorkspace(doc: unknown, workdir?: string | undefined): DocWorkspace; //# sourceMappingURL=doc-workspace-hash.d.ts.map