import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The type of token being revoked. */ export declare const TokenTypeHint: { readonly AccessToken: "access_token"; readonly RefreshToken: "refresh_token"; }; /** * The type of token being revoked. */ export type TokenTypeHint = ClosedEnum; export type RevokeTokenRequest = { /** * The access or refresh token to revoke. */ token: string; /** * The type of token being revoked. */ tokenTypeHint?: TokenTypeHint | undefined; /** * Client ID can be provided here in the body, or as the Username in HTTP Basic Auth. */ clientId?: string | undefined; /** * Client secret can be provided here in the body, or as the Password in HTTP Basic Auth. */ clientSecret?: string | undefined; }; /** @internal */ export declare const TokenTypeHint$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TokenTypeHint$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RevokeTokenRequest$inboundSchema: z.ZodType; /** @internal */ export type RevokeTokenRequest$Outbound = { token: string; token_type_hint?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; }; /** @internal */ export declare const RevokeTokenRequest$outboundSchema: z.ZodType; export declare function revokeTokenRequestToJSON(revokeTokenRequest: RevokeTokenRequest): string; export declare function revokeTokenRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=revoketokenrequest.d.ts.map