import { z } from 'zod'; export declare const securitySchemeApiKeyIn: readonly ["query", "header", "cookie"]; export declare const securityApiKeySchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"apiKey">; name: z.ZodDefault>; in: z.ZodCatch>>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; value: z.ZodDefault; }, z.core.$strip>; export type SecuritySchemeApiKey = z.infer; export declare const securityHttpSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodDefault>>>; bearerFormat: z.ZodDefault, z.ZodString]>>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; username: z.ZodDefault; password: z.ZodDefault; token: z.ZodDefault; }, z.core.$strip>; export type SecuritySchemaHttp = z.infer; export declare const securityOpenIdSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodDefault>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; }, z.core.$strip>; export type SecuritySchemaOpenId = z.infer; /** Options for the x-usePkce extension */ export declare const pkceOptions: readonly ["SHA-256", "plain", "no"]; export declare const securityOauthSchema: z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; 'x-default-scopes': z.ZodOptional>; flows: z.ZodDefault>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-scalar-redirect-uri': z.ZodDefault>; }, z.core.$strip>>; password: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; username: z.ZodDefault; password: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; clientCredentials: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; authorizationCode: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-usePkce': z.ZodDefault>>; 'x-scalar-redirect-uri': z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; }, z.core.$strip>; export type SecuritySchemeOauth2 = z.infer; export type SecuritySchemeOauth2Payload = z.input; export type Oauth2Flow = NonNullable; /** Payload for the oauth 2 flows + extensions */ export type Oauth2FlowPayload = NonNullable['authorizationCode' | 'clientCredentials' | 'implicit' | 'password'] & Record<`x-${string}`, string>; /** * Security Requirement * Lists the required security schemes to execute this operation OR the whole collection/spec. * The name used for each property MUST correspond to a security scheme declared in the Security * Schemes under the Components Object. * * The key (name) here will be matched to the key of the securityScheme for linking * * @see https://spec.openapis.org/oas/latest.html#security-requirement-object */ export declare const oasSecurityRequirementSchema: z.ZodRecord>>>; /** OAS Compliant security schemes */ export declare const oasSecuritySchemeSchema: 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.ZodDefault, z.ZodString]>>>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; 'x-default-scopes': z.ZodOptional>; flows: z.ZodDefault>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-scalar-redirect-uri': z.ZodDefault>; }, z.core.$strip>>; password: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; username: z.ZodDefault; password: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; clientCredentials: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; authorizationCode: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-usePkce': z.ZodDefault>>; 'x-scalar-redirect-uri': z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodDefault>; }, z.core.$strip>]>; /** Extended security schemes for workspace usage */ export declare const securitySchemeSchema: z.ZodPipe; type: z.ZodLiteral<"apiKey">; name: z.ZodDefault>; in: z.ZodCatch>>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; value: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodDefault>>>; bearerFormat: z.ZodDefault, z.ZodString]>>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; username: z.ZodDefault; password: z.ZodDefault; token: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodDefault>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; 'x-default-scopes': z.ZodOptional>; flows: z.ZodDefault>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-scalar-redirect-uri': z.ZodDefault>; }, z.core.$strip>>; password: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; username: z.ZodDefault; password: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; clientCredentials: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; authorizationCode: z.ZodOptional>; scopes: z.ZodCatch>>>>>; selectedScopes: z.ZodDefault>>; 'x-scalar-client-id': z.ZodDefault>; token: z.ZodDefault; 'x-scalar-security-query': z.ZodOptional>; 'x-scalar-security-body': z.ZodOptional>; 'x-tokenName': z.ZodOptional; type: z.ZodDefault>; authorizationUrl: z.ZodDefault; 'x-usePkce': z.ZodDefault>>; 'x-scalar-redirect-uri': z.ZodDefault>; tokenUrl: z.ZodDefault; clientSecret: z.ZodDefault; 'x-scalar-credentials-location': z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; uid: z.core.$ZodBranded>, "securityScheme">; nameKey: z.ZodDefault>; }, z.core.$strip>], "type">, z.ZodTransform<{ type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & z.core.$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & z.core.$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & z.core.$brand<"securityScheme">; nameKey: string; description?: string | undefined; } | { type: "oauth2"; flows: { implicit?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "implicit"; authorizationUrl: string; 'x-scalar-redirect-uri': string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; } | undefined; password?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "password"; tokenUrl: string; clientSecret: string; username: string; password: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; clientCredentials?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "clientCredentials"; tokenUrl: string; clientSecret: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; authorizationCode?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "authorizationCode"; authorizationUrl: string; 'x-usePkce': "SHA-256" | "plain" | "no"; 'x-scalar-redirect-uri': string; tokenUrl: string; clientSecret: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; }; uid: string & z.core.$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }, { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & z.core.$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & z.core.$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & z.core.$brand<"securityScheme">; nameKey: string; description?: string | undefined; } | { type: "oauth2"; flows: { implicit?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "implicit"; authorizationUrl: string; 'x-scalar-redirect-uri': string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; } | undefined; password?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "password"; tokenUrl: string; clientSecret: string; username: string; password: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; clientCredentials?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "clientCredentials"; tokenUrl: string; clientSecret: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; authorizationCode?: { refreshUrl: string; scopes: Record; selectedScopes: string[]; 'x-scalar-client-id': string; token: string; type: "authorizationCode"; authorizationUrl: string; 'x-usePkce': "SHA-256" | "plain" | "no"; 'x-scalar-redirect-uri': string; tokenUrl: string; clientSecret: string; 'x-scalar-security-query'?: Record | undefined; 'x-scalar-security-body'?: Record | undefined; 'x-tokenName'?: string | undefined; 'x-scalar-credentials-location'?: "header" | "body" | undefined; } | undefined; }; uid: string & z.core.$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }>>; /** * Security Scheme Object * * @see https://spec.openapis.org/oas/latest.html#security-scheme-object */ export type SecurityScheme = z.infer; export type SecuritySchemePayload = z.input; //# sourceMappingURL=security-scheme.d.ts.map