import * as E from 'fp-ts/Either'; import type { IPrismDiagnostic } from '@stoplight/prism-core'; import type { IHttpRequest } from '../../../../types'; export type ValidateSecurityFn = (input: Pick, name: string) => E.Either; export declare const genRespForScheme: (isSchemeProper: boolean, isCredsGiven: boolean, msg: string) => E.Either; export declare const genUnauthorisedErr: (msg?: string) => IPrismDiagnostic; export declare function isScheme(shouldBeScheme: string, authScheme: string): boolean; export declare const when: (condition: boolean, errorMessage?: string) => E.Either;