import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuthFinishResponseDelivery, AuthFinishResponseDelivery$Outbound } from "./authfinishresponsedelivery.js"; import { AuthFinishResponseSubjects, AuthFinishResponseSubjects$Outbound } from "./authfinishresponsesubjects.js"; export type AuthFinishResponse = { /** * AppNamespace describes the Prove Auth environment. */ appNamespace: string; /** * AuthID is the unique ID of the auth flow. */ authId: string; delivery?: AuthFinishResponseDelivery | undefined; subjects: AuthFinishResponseSubjects; }; /** @internal */ export declare const AuthFinishResponse$inboundSchema: z.ZodType; /** @internal */ export type AuthFinishResponse$Outbound = { appNamespace: string; authId: string; delivery?: AuthFinishResponseDelivery$Outbound | undefined; subjects: AuthFinishResponseSubjects$Outbound; }; /** @internal */ export declare const AuthFinishResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AuthFinishResponse$ { /** @deprecated use `AuthFinishResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AuthFinishResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AuthFinishResponse$Outbound` instead. */ type Outbound = AuthFinishResponse$Outbound; } export declare function authFinishResponseToJSON(authFinishResponse: AuthFinishResponse): string; export declare function authFinishResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=authfinishresponse.d.ts.map