import type { AuthProvider, FetchFn } from "./types.js"; export type TokenProvider = () => string | Promise; export interface CognitoBearerAuthOptions { token: string | TokenProvider; headerName?: string; scheme?: string; } export declare class CognitoBearerAuth implements AuthProvider { private readonly token; private readonly headerName; private readonly scheme; constructor(options: CognitoBearerAuthOptions); wrap(fetch: FetchFn): FetchFn; } //# sourceMappingURL=cognito.d.ts.map