import { z } from 'zod'; export declare const ApiKeyInValues: readonly ["query", "header", "cookie"]; export declare const ApiKeySchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"apiKey">; name: z.ZodDefault>; in: z.ZodCatch>>>; }, z.core.$strip>; export declare const HttpSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodDefault>>>; bearerFormat: z.ZodOptional, z.ZodLiteral<"bearer">, z.ZodString]>>; }, z.core.$strip>; export declare const OpenIdConnectSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodDefault>; }, z.core.$strip>; /** * OAuth Flow Object * * Configuration details for a supported OAuth Flow */ export declare const OAuthFlowObjectSchema: z.ZodObject<{ refreshUrl: z.ZodOptional; scopes: z.ZodCatch>>>>; }, z.core.$strip>; export declare const ImplicitFlowSchema: z.ZodObject<{ refreshUrl: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; }, z.core.$strip>; export declare const PasswordFlowSchema: z.ZodObject<{ refreshUrl: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>; export declare const ClientCredentialsFlowSchema: z.ZodObject<{ refreshUrl: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>; export declare const AuthorizationCodeFlowSchema: z.ZodObject<{ refreshUrl: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; tokenUrl: z.ZodDefault; }, z.core.$strip>; /** * OAuth Flows Object * * Allows configuration of the supported OAuth Flows. * * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#oauth-flows-object */ export declare const OAuthFlowsObjectSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; flows: z.ZodObject<{ implicit: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; }, z.core.$strip>>>; password: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; clientCredentials: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; authorizationCode: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const MutualTlsSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"mutualTLS">; }, z.core.$strip>; /** * Security Scheme Object * * Defines a security scheme that can be used by the operations. * * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query * parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials * and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit * flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is * Authorization Code Grant flow with PKCE. * * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#security-scheme-object */ export declare const SecuritySchemeObjectSchema: z.ZodUnion; type: z.ZodLiteral<"apiKey">; name: z.ZodDefault>; in: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodDefault>>>; bearerFormat: z.ZodOptional, z.ZodLiteral<"bearer">, z.ZodString]>>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"mutualTLS">; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; flows: z.ZodObject<{ implicit: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; }, z.core.$strip>>>; password: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; clientCredentials: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; authorizationCode: z.ZodOptional; scopes: z.ZodCatch>>>>; type: z.ZodOptional>; authorizationUrl: z.ZodDefault; tokenUrl: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodDefault>; }, z.core.$strip>]>; //# sourceMappingURL=security-scheme-object.d.ts.map