import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Where the delivered secret is stored: `intern` for the intern's own vault, `attached` for a vault attached to the intern, `workspace` for the workspace vault. */ export declare const VaultEffectiveSecretScope: { readonly Intern: "intern"; readonly Attached: "attached"; readonly Workspace: "workspace"; }; /** * Where the delivered secret is stored: `intern` for the intern's own vault, `attached` for a vault attached to the intern, `workspace` for the workspace vault. */ export type VaultEffectiveSecretScope = OpenEnum; /** * Metadata for the one secret the intern's outbound requests receive under this name. The secret value is never returned. The intern receives it only on requests to a hostname in `hosts`, or on any request when `hosts` is `null`; a request to any other hostname receives no secret under this name, even when another vault holds one. `fingerprint` is comparable only within one vault. */ export type VaultEffectiveSecret = { createdAt: Date; fingerprint: string | null; hosts: Array | null; name: string; /** * Where the delivered secret is stored: `intern` for the intern's own vault, `attached` for a vault attached to the intern, `workspace` for the workspace vault. */ scope: VaultEffectiveSecretScope; }; /** @internal */ export declare const VaultEffectiveSecretScope$inboundSchema: z.ZodType; /** @internal */ export declare const VaultEffectiveSecret$inboundSchema: z.ZodType; export declare function vaultEffectiveSecretFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vaulteffectivesecret.d.ts.map