import { FullAuthUtil } from './baseAuthUtils'; import { Auth } from '../../generators/postman/definitions'; import { SecuritySchemeObject } from '../../generators/openapi/definitions'; /** * {@include ../../../typedocIncludes/auth/bearerUtil.md} */ export declare class BearerUtil extends FullAuthUtil { protected token?: string; protected bearerFormat?: string; setDescription(description: string): this; setToken(token: string): this; getToken(): string | undefined; removeToken(): string | undefined; /** * * @param bearerFormat A hint to the client to identify * how the bearer token is formatted. Bearer tokens are usually * generated by an authorization server, * so this information is primarily for documentation purposes. */ setBearerFormat(bearerFormat: string): this; getBearerFormat(): string | undefined; removeBearerFormat(): string | undefined; toPostman(): Auth; toOpenAPI(): Record; }