import type { APIKeySecurityScheme, HTTPSecurityScheme, OAuth2SecurityScheme, OpenIdConnectSecurityScheme } from '../../../types/openapi.type.js'; import type { RestClientOptions } from './restclient.js'; export type MappableSecurityScheme = APIKeySecurityScheme | OAuth2SecurityScheme | OpenIdConnectSecurityScheme | (HTTPSecurityScheme & { type: 'http'; }); export declare const toSecurityDeclaration: { [T in MappableSecurityScheme['type']]: (s: Extract) => string | undefined; }; export declare const toSecurityHook: { [T in MappableSecurityScheme['type']]: (s: Extract, name: string, options: RestClientOptions) => { decl: string; headers: string[]; } | undefined; };