import { type Collection, type SecurityScheme, type SecuritySchemePayload } from '@scalar/oas-utils/entities/spec'; import type { StoreContext } from '../store/store-context'; /** Create storage entities for security schemes */ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): { securitySchemes: Record; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }>; securitySchemeMutators: { add: (item: { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }) => void; delete: (uid: (string & import("zod").$brand<"securityScheme">) | null | undefined) => void; set: (item: { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }) => void; edit:

(uid: (string & import("zod").$brand<"securityScheme">) | null | undefined, path: P, value: (P extends "in" | "value" | "description" | "type" | "uid" | "name" | "nameKey" ? { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "in" | "value" | "description" | "type" | "uid" | "name" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{ type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "username" | "password" | "token" ? { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "username" | "password" | "token" ? R extends import("@scalar/object-utils/nested").Path<{ type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{ type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? { 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{ 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void; untrackedEdit:

(uid: string & import("zod").$brand<"securityScheme">, path: P, value: (P extends "in" | "value" | "description" | "type" | "uid" | "name" | "nameKey" ? { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "in" | "value" | "description" | "type" | "uid" | "name" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{ type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "username" | "password" | "token" ? { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "username" | "password" | "token" ? R extends import("@scalar/object-utils/nested").Path<{ type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{ type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? { 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{ 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[K]> ? import("@scalar/object-utils/nested").PathValue<{ 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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void; undo: (uid: string & import("zod").$brand<"securityScheme">) => void; redo: (uid: string & import("zod").$brand<"securityScheme">) => void; reset: () => void; }; }; /** Extended mutators and data for security schemas */ export declare function extendedSecurityDataFactory({ securitySchemeMutators, collectionMutators, collections, requests, requestMutators, }: StoreContext): { addSecurityScheme: (payload: SecuritySchemePayload, collectionUid: Collection["uid"]) => { type: "apiKey"; name: string; in: "cookie" | "query" | "header"; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; value: string; description?: string | undefined; } | { type: "http"; scheme: "basic" | "bearer"; bearerFormat: string; uid: string & import("zod").$brand<"securityScheme">; nameKey: string; username: string; password: string; token: string; description?: string | undefined; } | { type: "openIdConnect"; openIdConnectUrl: string; uid: string & import("zod").$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 & import("zod").$brand<"securityScheme">; nameKey: string; description?: string | undefined; 'x-default-scopes'?: string[] | undefined; }; deleteSecurityScheme: (schemeUid: SecurityScheme["uid"]) => void; }; //# sourceMappingURL=security-schemes.d.ts.map