import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ServiceAccountSubject } from "./serviceaccountsubject.js"; import { UserSubject } from "./usersubject.js"; /** * Authenticated principal that can be either a user (with workspace-scoped permissions) or a service account (with configurable scope and role) */ export type Subject = UserSubject | ServiceAccountSubject; /** @internal */ export declare const Subject$inboundSchema: z.ZodType; export declare function subjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subject.d.ts.map